public CreateDataProvider(Guid id, DataProviderName name, decimal costOfSale, string owner, DateTime createdDate) : base(id) { Name = name; Description = name.ToString(); CostOfSale = costOfSale; Owner = owner; CreatedDate = createdDate; }
public ReadDataProviderBuilder With(DataProviderName name) { _name = name; _description = name.ToString(); return this; }
public DataProviderDtoBuilder With(DataProviderName name, string description = "") { _name = name.ToString(); _description = description; return this; }