using Hncore.Infrastructure.DDD;
using System;
using System.Collections.Generic;
using static Hncore.Pass.Sells.Domain.Enums;

namespace Hncore.Pass.Sells.Domain
{
    public partial class CouponUserOrginEntity : EntityWithDelete<int>, ITenant
    {
        public int TenantId { get; set; }
        public int? StoreId { get; set; }
        public string From { get; set; }
        public int? ToUser { get; set; }
        public string ToUserRef { get; set; }
        public int? CouponId { get; set; }
        public int? CouponCount { get; set; }
        public CouponOriginType OriginType { get; set; } = CouponOriginType.Admin;
        public string Remark { get; set; }
        public DateTime? CreateDate { get; set; } = DateTime.Now;
        public DateTime? StartTime { get; set; }
        public DateTime? EndTime { get; set; }

        public CouponStatus Status { get; set; } = CouponStatus.Origin;
    }
}
