using NCC.Common.Const; using SqlSugar; using System; namespace NCC.Order.Entitys { /// /// 订单模块V1 /// [SugarTable("base_order")] [Tenant(ClaimConst.TENANT_ID)] public class BaseOrderEntity { /// /// 主键 /// [SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true)] public string Id { get; set; } /// /// 订单标题 /// [SugarColumn(ColumnName = "F_Title")] public string Title { get; set; } /// /// 系统订单编号 /// [SugarColumn(ColumnName = "F_OrderNumber")] public string OrderNumber { get; set; } /// /// 下单时间 /// [SugarColumn(ColumnName = "F_OrderTime")] public DateTime? OrderTime { get; set; } /// /// 订单金额 /// [SugarColumn(ColumnName = "F_Money")] public decimal Money { get; set; } /// /// 产品ID /// [SugarColumn(ColumnName = "F_ProductId")] public string ProductId { get; set; } /// /// 订单状态 关联枚举值/数据字典 /// [SugarColumn(ColumnName = "F_Status")] public Entitys.Enum.OrderStatus? Status { get; set; } /// /// 发货状态 /// [SugarColumn(ColumnName = "F_ShipStatus")] public int? ShipStatus { get; set; } /// /// 支付状态 /// [SugarColumn(ColumnName = "F_PayStatus")] public int? PayStatus { get; set; } /// /// 商户/店铺/门店ID /// [SugarColumn(ColumnName = "F_SellerId")] public string SellerId { get; set; } /// /// 售后状态 /// [SugarColumn(ColumnName = "F_ConfirmStatus")] public string ConfirmStatus { get; set; } /// /// 确认收货时间 /// [SugarColumn(ColumnName = "F_ConfirmTime")] public DateTime? ConfirmTime { get; set; } /// /// 使用积分 /// [SugarColumn(ColumnName = "F_Point")] public string Point { get; set; } /// /// 下单IP /// [SugarColumn(ColumnName = "F_IP")] public string Ip { get; set; } /// /// 卖家备注 /// [SugarColumn(ColumnName = "F_Mark")] public string Mark { get; set; } /// /// 订单来源 /// [SugarColumn(ColumnName = "F_Source")] public string Source { get; set; } /// /// 支付方式 /// [SugarColumn(ColumnName = "F_PayType")] public string PayType { get; set; } /// /// 收货电话 /// [SugarColumn(ColumnName = "F_ShipMobile")] public string ShipMobile { get; set; } /// /// 收货人姓名 /// [SugarColumn(ColumnName = "F_ShipName")] public string ShipName { get; set; } /// /// 收货详细地址 /// [SugarColumn(ColumnName = "F_ShipAddress")] public string ShipAddress { get; set; } /// /// 收货地区 /// [SugarColumn(ColumnName = "F_ShipArea")] public string ShipArea { get; set; } /// /// 三方订单号 /// [SugarColumn(ColumnName = "F_ThirdPartyOrderNo")] public string ThirdPartyOrderNo { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "F_CreatorTime")] public DateTime? CreatorTime { get; set; } /// /// 创建用户 /// [SugarColumn(ColumnName = "F_CreatorUserId")] public string CreatorUserId { get; set; } /// /// 修改用户 /// [SugarColumn(ColumnName = "F_LastModifyUserId")] public string LastModifyUserId { get; set; } /// /// 修改时间 /// [SugarColumn(ColumnName = "F_LastModifyTime")] public DateTime? LastModifyTime { get; set; } /// /// 删除用户 /// [SugarColumn(ColumnName = "F_DeleteUserId")] public string DeleteUserId { get; set; } /// /// 删除时间 /// [SugarColumn(ColumnName = "F_DeleteTime")] public DateTime? DeleteTime { get; set; } /// /// 描述 /// [SugarColumn(ColumnName = "F_Description")] public string Description { get; set; } /// /// wx openid /// [SugarColumn(ColumnName = "F_OpenId")] public string OpenId { get; set; } /// /// 单价 /// [SugarColumn(ColumnName = "F_Price")] public decimal Price { get; set; } /// /// 数量 /// [SugarColumn(ColumnName = "F_Amount")] public int Amount { get; set; } } }