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.

134 lines
3.5 KiB
C#

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()
{
}
/// <summary>
/// 租户ID
/// </summary>
[JsonProperty(PropertyName = "tenantId")]
[Column("tenantId")]
public string TenantId { get; set; }
/// <summary>
/// 订单序号
/// </summary>
[JsonProperty(PropertyName = "ticketNo")]
[Column("ticketNo")]
public string TicketNo { get; set; }
/// <summary>
/// 门店ID
/// </summary>
[JsonProperty(PropertyName = "storeId")]
[Column("storeId")]
public string StoreId { get; set; }
/// <summary>
/// 门店编号
/// </summary>
[JsonProperty(PropertyName = "storeNo")]
[Column("storeNo")]
public string StoreNo { get; set; }
/// <summary>
/// 门店名称
/// </summary>
[JsonProperty(PropertyName = "storeName")]
[Column("storeName")]
public string StoreName { get; set; }
/// <summary>
/// 班次ID
/// </summary>
[JsonProperty(PropertyName = "shiftId")]
[Column("shiftId")]
public string ShiftId { get; set; }
/// <summary>
/// 班次
/// </summary>
[JsonProperty(PropertyName = "shiftNo")]
[Column("shiftNo")]
public string ShiftNo { get; set; }
/// <summary>
/// 工号
/// </summary>
[JsonProperty(PropertyName = "workerNo")]
[Column("workerNo")]
public string WorkerNo { get; set; }
/// <summary>
/// 收餐人姓名
/// </summary>
[JsonProperty(PropertyName = "receiveName")]
[Column("receiveName")]
public string ReceiveName { get; set; }
/// <summary>
/// 收餐人电话
/// </summary>
[JsonProperty(PropertyName = "receiveMobile")]
[Column("receiveMobile")]
public string ReceiveMobile { get; set; }
/// <summary>
/// 收餐人地址
/// </summary>
[JsonProperty(PropertyName = "receiveAddress")]
[Column("receiveAddress")]
public string ReceiveAddress { get; set; }
/// <summary>
/// 配送费
/// </summary>
[JsonProperty(PropertyName = "distributionFee")]
[Column("distributionFee")]
public decimal DistributionFee { get; set; }
/// <summary>
/// 配送类型(0门店自提1自配送2蜂鸟配送)
/// 配送快递 0-自送 (1 => '商家配送', 2 => '蜂鸟配送', 3 => '达达配送', 4 => 'UU跑腿', 5 => '顺丰配送', 6 => '点我达')
/// </summary>
[JsonProperty(PropertyName = "type")]
[Column("type")]
public int Type { get; set; }
/// <summary>
/// 是否计入班次收入(0否1是)
/// </summary>
[JsonProperty(PropertyName = "isIncome")]
[Column("isIncome")]
public int IsIncome { get; set; }
/// <summary>
/// 订单状态(0已接单1已退单)
/// </summary>
[JsonProperty(PropertyName = "status")]
[Column("status")]
public int Status { get; set; }
}
}