using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace ChangKeTec.Wms.Models.Wms { public partial class TA_CELL { [DatabaseGenerated(DatabaseGeneratedOption.Computed)] public int UID { get; set; } [Key] [StringLength(50)] [DisplayName("位置编号")] public string CellCode { get; set; } [StringLength(50)] [DisplayName("位置描述")] public string CellDesc { get; set; } [DisplayName("位置类型")] public int CellType { get; set; } [Required(AllowEmptyStrings = true)] [StringLength(50)] [DisplayName("对应生产线")] public string LineId { get; set; } = ""; [StringLength(50)] [DisplayName("对应客户")] public string CustId { get; set; } = ""; [Required(AllowEmptyStrings = true)] [StringLength(50)] [DisplayName("对应库位")] public string LocCode { get; set; } = ""; [DisplayName("默认时间")] public int DefaultMinutes { get; set; } = 60; [StringLength(50)] [DisplayName("备注")] public string Remark { get; set; } } public partial class TA_CELL1 { [DatabaseGenerated(DatabaseGeneratedOption.Computed)] public int UID { get; set; } [Key] [StringLength(50)] [DisplayName("位置编号")] public string CellCode { get; set; } [StringLength(50)] [DisplayName("位置描述")] public string CellDesc { get; set; } [DisplayName("位置类型")] public int CellType { get; set; } [Required(AllowEmptyStrings = true)] [StringLength(50)] [DisplayName("对应生产线")] public string LineId { get; set; } = ""; [StringLength(50)] [DisplayName("对应客户")] public string CustId { get; set; } = ""; [Required(AllowEmptyStrings = true)] [StringLength(50)] [DisplayName("对应库位")] public string LocCode { get; set; } = ""; [DisplayName("默认时间")] public int DefaultMinutes { get; set; } = 60; [StringLength(50)] [DisplayName("备注")] public string Remark { get; set; } } }