using Chuanyin.Attribute; using CoreCms.Net.Model.Entities.baseModel; using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CoreCms.Net.Model.Entities.baifenbingfa.Promote.OffLineDistributor { /// /// /// [Display(Name = "线下经销商采集")] [SugarTable(TableDescription = "线下经销商采集")] //[SqlCodeFirst] public class OfflineDistributorOder: BFBaseModel { /// /// 主键ID,自增长 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键ID")] public int Id { get; set; } /// /// 单价 /// [Display(Name = "单价")] [SugarColumn(ColumnDescription = "商品单价", IsNullable = true)] public decimal UnitPrice { get; set; } /// /// 时间 /// [Display(Name = "时间")] [SugarColumn(ColumnDescription = "时间")] public DateTime time { get; set; } /// /// 货物名称 /// [Display(Name = "货物名称")] [SugarColumn(ColumnDescription = "商品名称", IsNullable = true)] public string GoodsName { get; set; } /// /// 货物编码 /// [Display(Name = "货物编码")] [SugarColumn(ColumnDescription = "商品编码", IsNullable = true)] public string GoodsCode { get; set; } /// /// 订货数量 /// [Display(Name = "订货数量")] [SugarColumn(ColumnDescription = "订购数量", IsNullable = true)] public int OrderQuantity { get; set; } /// /// 订货时间 /// [Display(Name = "订货时间")] [SugarColumn(ColumnDescription = "订购时间", IsNullable = true)] public DateTime? OrderTime { get; set; } /// /// 实付金额 /// [Display(Name = "实付金额")] [SugarColumn(ColumnDescription = "实际支付金额", IsNullable = true)] public decimal ActualPayment { get; set; } /// /// 发货时间 /// [Display(Name = "发货时间")] [SugarColumn(ColumnDescription = "发货时间", IsNullable = true)] public DateTime? DeliveryTime { get; set; } /// /// 发货单号 /// [Display(Name = "发货单号")] [SugarColumn(ColumnDescription = "发货单编号", IsNullable = true)] public string DeliveryNumber { get; set; } /// /// 快递公司 /// [Display(Name = "快递公司")] [SugarColumn(ColumnDescription = "快递公司名称", IsNullable = true)] public string ExpressCompany { get; set; } /// /// 发货数量(如果与订货数量不同步,单独列出) /// [Display(Name = "发货数量")] [SugarColumn(ColumnDescription = "实际发货数量", IsNullable = true)] public int ShippedQuantity { get; set; } /// /// 退款金额 /// [Display(Name = "退款金额")] [SugarColumn(ColumnDescription = "退款金额", IsNullable = true)] public decimal? RefundAmount { get; set; } /// /// 备注 /// [Display(Name = "备注")] [SugarColumn(ColumnDescription = "订单备注", IsNullable =true)] public string Remarks { get; set; } /// /// 经销商表ID /// [Display(Name = "经销商表ID")] [SugarColumn(ColumnDescription = "经销商表ID")] public int OfflineDistributorID { get; set; } } }