Files
juipnet/Services/Hncore.Pass.Sells/Domain/Coupon/Coupon.cs
wanyongkang d318014316 初始提交
2020-10-07 20:25:03 +08:00

32 lines
1.2 KiB
C#

using Hncore.Infrastructure.DDD;
using Hncore.Pass.Sells.Model;
using System;
using System.Collections.Generic;
namespace Hncore.Pass.Sells.Domain
{
public partial class CouponEntity : EntityWithDelete<int>, ITenant
{
public int TenantId { get; set; } = 0;
public int? StoreId { get; set; } = 0;
public string Name { get; set; }
public string Remark { get; set; }
public ECouponType CouponType { get; set; }
public int? TotalCount { get; set; }
public int? GrantCount { get; set; } = 0;
public int? UsedCount { get; set; } = 0;
public int? GetLimitCount { get; set; }
public ECouponUseRange UseRange { get; set; }
public int AllowMinAmount { get; set; }
public int CouponValue { get; set; }
public ECouponDateRule DateRule { get; set; }
public int ValidDay { get; set; }
public DateTime? StartDate { get; set; } = DateTime.Now;
public DateTime? EndDate { get; set; } = DateTime.Now;
public DateTime? CreateDate { get; set; } = DateTime.Now;
public int IsOverlay { get; set; }
public int IsOpen { get; set; }
public int? Disabled { get; set; } = 0;
}
}