/*********************************************************************** * Project: baifenBinfa * ProjectName: 百分兵法管理系统 * Web: http://chuanyin.com * Author: * Email: * CreateTime: 2021/7/12 0:52:34 * Description: 暂无 ***********************************************************************/ using SqlSugar; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace CoreCms.Net.Model.Entities { /// /// 发货单详情表 /// public partial class CoreCmsBillDeliveryItem { /// /// 构造函数 /// public CoreCmsBillDeliveryItem() { } /// /// 序列 /// [Display(Name = "序列")] [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] [Required(ErrorMessage = "请输入{0}")] public System.Int32 id { get; set; } /// /// 订单编号 /// [Display(Name = "订单编号")] [StringLength(maximumLength:20,ErrorMessage = "{0}不能超过{1}字")] public System.String orderId { get; set; } /// /// 发货单号 关联bill_delivery.id /// [Display(Name = "发货单号 关联bill_delivery.id")] [Required(ErrorMessage = "请输入{0}")] [StringLength(maximumLength:20,ErrorMessage = "{0}不能超过{1}字")] public System.String deliveryId { get; set; } /// /// 商品ID 关联goods.id /// [Display(Name = "商品ID 关联goods.id")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 goodsId { get; set; } /// /// 货品ID 关联products.id /// [Display(Name = "货品ID 关联products.id")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 productId { get; set; } /// /// 货品编码 /// [Display(Name = "货品编码")] [Required(ErrorMessage = "请输入{0}")] [StringLength(maximumLength:30,ErrorMessage = "{0}不能超过{1}字")] public System.String sn { get; set; } /// /// 商品编码 /// [Display(Name = "商品编码")] [Required(ErrorMessage = "请输入{0}")] [StringLength(maximumLength:30,ErrorMessage = "{0}不能超过{1}字")] public System.String bn { get; set; } /// /// 商品名称 /// [Display(Name = "商品名称")] [Required(ErrorMessage = "请输入{0}")] [StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")] public System.String name { get; set; } /// /// 发货数量 /// [Display(Name = "发货数量")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 nums { get; set; } /// /// 重量 /// [Display(Name = "重量")] [Required(ErrorMessage = "请输入{0}")] public System.Decimal weight { get; set; } /// /// 货品明细序列号存储 /// [Display(Name = "货品明细序列号存储")] public System.String addon { get; set; } } }