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()
{
}
///
/// 租户ID
///
[JsonProperty(PropertyName = "tenantId")]
[Column("tenantId")]
public string TenantId { get; set; }
///
/// 店铺id
///
[JsonProperty(PropertyName = "shopId")]
[Column("shopId")]
public string ShopId { get; set; }
///
/// 菜品id
///
[JsonProperty(PropertyName = "goodId")]
[Column("goodId")]
public string ProductId { get; set; }
///
/// 账户id
///
[JsonProperty(PropertyName = "accountId")]
[Column("accountId")]
public string AccountId { get; set; }
///
/// 类型
///
[JsonProperty(PropertyName = "type")]
[Column("type")]
public int Type { get; set; }
///
/// 类型
///
[JsonProperty(PropertyName = "status")]
[Column("status")]
public int Status { get; set; }
///
/// 详情
///
[JsonProperty(PropertyName = "detail")]
[Column("detail")]
public string Detail { get; set; }
///
/// 代收用户
///
[JsonProperty(PropertyName = "bizUserId")]
[Ignore]
public string BizUserId { get; set; }
}
public class SplitFoodAccountModel
{
public SplitFoodAccount splitFoodAccount { get; set; }
}
}