34 lines
1.2 KiB
C#
34 lines
1.2 KiB
C#
using Hncore.Pass.Sells.Model;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Hncore.Pass.Sells.Request.RedeemCode
|
|
{
|
|
public class PostCouponRequest
|
|
{
|
|
public int Id { get; set; }
|
|
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 AllowMaxAmount { get; set; }
|
|
public int CouponValue { get; set; }
|
|
public ECouponDateRule DateRule { get; set; }
|
|
public int ValidDay { get; set; }
|
|
public DateTime? StartDate { get; set; }
|
|
public DateTime? EndDate { get; set; }
|
|
public DateTime? CreateDate { get; set; } = DateTime.Now;
|
|
public int IsOpen { get; set; }
|
|
public int? Disabled { get; set; } = 0;
|
|
|
|
public List<ResourceModel> Resource { get; set; }
|
|
}
|
|
}
|