32 lines
1.2 KiB
C#
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;
|
|
}
|
|
}
|