using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace DSWeb.Areas.Storage.DB { [Table("VW_OP_REP_WMSINDO")] public class IndoInfo { [Key] public string WMSID { get; set; } public string CUSTOMERNAME { get; set; } public string GOODSNAME { get; set; } public string PKGS { get; set; } public string KGS { get; set; } public string MBLNO { get; set; } public string BSNO { get; set; }//入库单号 public string DODATE { get; set; } public string CNTRNO { get; set; } public IndoInfo() { this.WMSID = Guid.NewGuid().ToString(); this.CUSTOMERNAME = string.Empty; this.GOODSNAME = string.Empty; this.PKGS = "0"; this.KGS = "0"; this.MBLNO = string.Empty; this.BSNO = string.Empty; this.DODATE = DateTime.Now.ToString("yyyy-MMMM-dd"); this.CNTRNO = string.Empty; } } }