using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; namespace dccdc.Models { [Serializable] public class wzModel { public int id { get; set; } [Required(ErrorMessage = "不能为空!")] public string bm { get; set; } [Required(ErrorMessage = "不能为空!")] public int wzlb { get; set; } [Required(ErrorMessage = "不能为空!")] public string mc { get; set; } public string ggxh { get; set; } public string sccj { get; set; } public string jldw { get; set; } [Required(ErrorMessage = "不能为空!")] public decimal? dj { get; set; } public decimal kcsx { get; set; } public decimal kcxx { get; set; } public string tjr { get; set; } public DateTime tjsj { get; set; } public int zt { get; set; } //申请单 明细使用 public decimal sl { get; set; } //盘点使用 public decimal oldsl { get; set; } public decimal newsl { get; set; } //不同的库 public int sign { get; set; } public int kcid { get; set; } } }