CommissionPercent set to double
This commit is contained in:
parent
f68a9d1551
commit
225c605697
|
|
@ -27,7 +27,7 @@ namespace AyCode.Entities.ServiceProviders
|
|||
[Required]
|
||||
public string Name { get; set; }
|
||||
|
||||
public double? CommissionPercent { get; set; }
|
||||
public double CommissionPercent { get; set; }
|
||||
|
||||
[Required]
|
||||
public Guid AffiliateId { get; set; }
|
||||
|
|
@ -44,15 +44,15 @@ namespace AyCode.Entities.ServiceProviders
|
|||
{
|
||||
}
|
||||
|
||||
protected AcCompany(string name, Guid ownerId) : this(Guid.NewGuid(), name, ownerId)
|
||||
protected AcCompany(string name, Guid? ownerId) : this(Guid.NewGuid(), name, ownerId)
|
||||
{
|
||||
}
|
||||
|
||||
protected AcCompany(Guid id, string name, Guid ownerId) : this(id, name, ownerId, Guid.NewGuid())
|
||||
protected AcCompany(Guid id, string name, Guid? ownerId) : this(id, name, ownerId, Guid.NewGuid())
|
||||
{
|
||||
}
|
||||
|
||||
protected AcCompany(Guid id, string name, Guid ownerId, Guid affiliateId, double? commissionPercent = null) : this()
|
||||
protected AcCompany(Guid id, string name, Guid? ownerId, Guid affiliateId, double commissionPercent = 0) : this()
|
||||
{
|
||||
Id = id;
|
||||
Name = name;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ public interface IAcCompanyBase : IEntityGuid, IAcProfileForeignKey, ITimeStampI
|
|||
Guid? OwnerId { get; set; }
|
||||
string Name { get; set; }
|
||||
|
||||
double? CommissionPercent { get; set; }
|
||||
double CommissionPercent { get; set; }
|
||||
|
||||
Guid AffiliateId { get; set; }
|
||||
Guid? ReferralId { get; set; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue