You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1000 B
C#
45 lines
1000 B
C#
using Newtonsoft.Json;
|
|
using NPoco;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace POSV.Entity.Pormotion
|
|
{
|
|
[Serializable]
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
[TableName("pos_card_promotion")]
|
|
[PrimaryKey(new string[] { "Id" }, AutoIncrement = false)]
|
|
public class CardPromotion : BaseEntity
|
|
{
|
|
public CardPromotion()
|
|
{
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 租户编码
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "tenantId")]
|
|
[Column("tenantId")]
|
|
public string TenantId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 优惠类型
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "type")]
|
|
[Column("type")]
|
|
public string Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// 内容
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "content")]
|
|
[Column("content")]
|
|
public string Content { get; set; }
|
|
|
|
}
|
|
|
|
}
|