Company.OwnerId set to Guid?
This commit is contained in:
parent
d82f6b9dc3
commit
f68a9d1551
|
|
@ -17,9 +17,10 @@ namespace AyCode.Entities.ServiceProviders
|
||||||
[Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
|
[Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||||
public Guid Id { get; set; }
|
public Guid Id { get; set; }
|
||||||
|
|
||||||
[Required]
|
//[Required]
|
||||||
public Guid OwnerId { get; set; }
|
public Guid? OwnerId { get; set; }
|
||||||
|
|
||||||
|
[Required]
|
||||||
public Guid ProfileId { get; set; }
|
public Guid ProfileId { get; set; }
|
||||||
public virtual TProfile Profile { get; set; }
|
public virtual TProfile Profile { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,9 @@ using AyCode.Interfaces.TimeStampInfo;
|
||||||
|
|
||||||
namespace AyCode.Interfaces.ServiceProviders;
|
namespace AyCode.Interfaces.ServiceProviders;
|
||||||
|
|
||||||
public interface IAcCompanyBase : IEntityGuid, IAcProfileForeignKey, ITimeStampInfo, IOwnerId
|
public interface IAcCompanyBase : IEntityGuid, IAcProfileForeignKey, ITimeStampInfo//, IOwnerId
|
||||||
{
|
{
|
||||||
|
Guid? OwnerId { get; set; }
|
||||||
string Name { get; set; }
|
string Name { get; set; }
|
||||||
|
|
||||||
double? CommissionPercent { get; set; }
|
double? CommissionPercent { get; set; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue