AyCode.Core/AyCode.Interfaces/ServiceProviders/IAcCompanyBase.cs

21 lines
534 B
C#

using AyCode.Interfaces.Entities;
using AyCode.Interfaces.Profiles;
using AyCode.Interfaces.TimeStampInfo;
namespace AyCode.Interfaces.ServiceProviders;
public interface IAcCompanyBase : IEntityGuid, IAcProfileForeignKey, ITimeStampInfo//, IOwnerId
{
Guid? OwnerId { get; set; }
string Name { get; set; }
double CommissionPercent { get; set; }
Guid AffiliateId { get; set; }
Guid? ReferralId { get; set; }
public bool HasUser(Guid userId);
public void AddUser(Guid userId, int permissions);
}