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.

81 lines
1.9 KiB
C#

using System;
using NPoco;
using Newtonsoft.Json;
namespace POSV.Entity
{
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
[TableName("pos_split_food_account")]
[PrimaryKey(new string[] { "id" }, AutoIncrement = false)]
public class SplitFoodAccount : BaseEntity
{
public SplitFoodAccount()
{
}
/// <summary>
/// 租户ID
/// </summary>
[JsonProperty(PropertyName = "tenantId")]
[Column("tenantId")]
public string TenantId { get; set; }
/// <summary>
/// 店铺id
/// </summary>
[JsonProperty(PropertyName = "shopId")]
[Column("shopId")]
public string ShopId { get; set; }
/// <summary>
/// 菜品id
/// </summary>
[JsonProperty(PropertyName = "goodId")]
[Column("goodId")]
public string ProductId { get; set; }
/// <summary>
/// 账户id
/// </summary>
[JsonProperty(PropertyName = "accountId")]
[Column("accountId")]
public string AccountId { get; set; }
/// <summary>
/// 类型
/// </summary>
[JsonProperty(PropertyName = "type")]
[Column("type")]
public int Type { get; set; }
/// <summary>
/// 类型
/// </summary>
[JsonProperty(PropertyName = "status")]
[Column("status")]
public int Status { get; set; }
/// <summary>
/// 详情
/// </summary>
[JsonProperty(PropertyName = "detail")]
[Column("detail")]
public string Detail { get; set; }
/// <summary>
/// 代收用户
/// </summary>
[JsonProperty(PropertyName = "bizUserId")]
[Ignore]
public string BizUserId { get; set; }
}
public class SplitFoodAccountModel
{
public SplitFoodAccount splitFoodAccount { get; set; }
}
}