using CMSMicroservice.Domain.Enums;

namespace CMSMicroservice.Domain.Entities;
//قراردادها
public class Contract : BaseAuditableEntity
{
    //عنوان
    public string Title { get; set; }
    //توضیحات
    public string Description { get; set; }
    //متن قرارداد
    public string HtmlContent { get; set; }
    //نوع قرارداد
    public ContractType Type { get; set; }
    //UserContract Collection Navigation Reference
    public virtual ICollection<UserContract> UserContracts { get; set; }
}
