using Newtonsoft.Json;
using NPoco;
using POSV.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace POSV.ShoppingCart
{
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
[TableName("pos_wx_waimai_order")]
[PrimaryKey(new string[] { "id" }, AutoIncrement = false)]
public class WxWaimaiOrder : BaseEntity
{
public WxWaimaiOrder()
{
}
///
/// 租户ID
///
[JsonProperty(PropertyName = "tenantId")]
[Column("tenantId")]
public string TenantId { get; set; }
///
/// 订单序号
///
[JsonProperty(PropertyName = "ticketNo")]
[Column("ticketNo")]
public string TicketNo { get; set; }
///
/// 门店ID
///
[JsonProperty(PropertyName = "storeId")]
[Column("storeId")]
public string StoreId { get; set; }
///
/// 门店编号
///
[JsonProperty(PropertyName = "storeNo")]
[Column("storeNo")]
public string StoreNo { get; set; }
///
/// 门店名称
///
[JsonProperty(PropertyName = "storeName")]
[Column("storeName")]
public string StoreName { get; set; }
///
/// 班次ID
///
[JsonProperty(PropertyName = "shiftId")]
[Column("shiftId")]
public string ShiftId { get; set; }
///
/// 班次
///
[JsonProperty(PropertyName = "shiftNo")]
[Column("shiftNo")]
public string ShiftNo { get; set; }
///
/// 工号
///
[JsonProperty(PropertyName = "workerNo")]
[Column("workerNo")]
public string WorkerNo { get; set; }
///
/// 收餐人姓名
///
[JsonProperty(PropertyName = "receiveName")]
[Column("receiveName")]
public string ReceiveName { get; set; }
///
/// 收餐人电话
///
[JsonProperty(PropertyName = "receiveMobile")]
[Column("receiveMobile")]
public string ReceiveMobile { get; set; }
///
/// 收餐人地址
///
[JsonProperty(PropertyName = "receiveAddress")]
[Column("receiveAddress")]
public string ReceiveAddress { get; set; }
///
/// 配送费
///
[JsonProperty(PropertyName = "distributionFee")]
[Column("distributionFee")]
public decimal DistributionFee { get; set; }
///
/// 配送类型(0门店自提1自配送2蜂鸟配送)
/// 配送快递 0-自送 (1 => '商家配送', 2 => '蜂鸟配送', 3 => '达达配送', 4 => 'UU跑腿', 5 => '顺丰配送', 6 => '点我达')
///
[JsonProperty(PropertyName = "type")]
[Column("type")]
public int Type { get; set; }
///
/// 是否计入班次收入(0否1是)
///
[JsonProperty(PropertyName = "isIncome")]
[Column("isIncome")]
public int IsIncome { get; set; }
///
/// 订单状态(0已接单1已退单)
///
[JsonProperty(PropertyName = "status")]
[Column("status")]
public int Status { get; set; }
}
}