/
Airat
/
ASP.NET
Обзор
Документация
Войти
/
Airat
/
ASP.NET
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
NoSQL/src/Pcf.GivingToCustomer/Pcf.GivingToCustomer.Core/Domain/PromoCode.cs
29 строк
781 B
Айрат Измаилов
modified: ../.gitignore
26 ноя 2024, 23:01
26 ноя 2024, 23:01
327b35a
Код
Авторство
О чём код?
using MongoDB.Bson.Serialization.Attributes; using MongoDB.Bson; using System; using System.Collections.Generic; namespace Pcf.GivingToCustomer.Core.Domain { public class PromoCode : BaseEntity { public string Code { get; set; } public string ServiceInfo { get; set; } public DateTime BeginDate { get; set; } public DateTime EndDate { get; set; } [BsonGuidRepresentation(GuidRepresentation.Standard)] public Guid PartnerId { get; set; } public virtual Preference Preference { get; set; } [BsonGuidRepresentation(GuidRepresentation.Standard)] public Guid PreferenceId { get; set; } public virtual ICollection<PromoCodeCustomer> Customers { get; set; } } }