You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
144 lines
4.7 KiB
144 lines
4.7 KiB
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using ChangkeTec.SDMS.Model.Attributes;
|
|
using ChangkeTec.SDMS.Model.Base;
|
|
using ChangkeTec.SDMS.Model.Enums;
|
|
|
|
namespace ChangkeTec.SDMS.Model.DataCenterTables
|
|
{
|
|
[Description("零件主变更表")]
|
|
public class TT_PART_MSTR : ITaskTable
|
|
{
|
|
|
|
[IsDataGridColum(true, 1)]
|
|
[Description("零件号")]
|
|
[StringLength(50)]
|
|
public string PartCode { get; set; }
|
|
[IsDataGridColum(true, 2)]
|
|
[Description("描述1")]
|
|
[StringLength(50)]
|
|
public string Desc1 { get; set; }
|
|
[IsDataGridColum(true, 3)]
|
|
[Description("描述2")]
|
|
[StringLength(50)]
|
|
public string Desc2 { get; set; }
|
|
[IsDataGridColum(true, 4)]
|
|
[Description("单位")]
|
|
[StringLength(50)]
|
|
public string Um { get; set; }
|
|
[IsDataGridColum(true, 5)]
|
|
[Description("产品类")]
|
|
[StringLength(50)]
|
|
public string ProdLine { get; set; }
|
|
[IsDataGridColum(true, 6)]
|
|
[Description("加入日期")]
|
|
public DateTime AddDate { get; set; }
|
|
[IsDataGridColum(true, 6)]
|
|
[Description("设计组")]
|
|
[StringLength(50)]
|
|
public string DsgnGroup { get; set; }
|
|
[IsDataGridColum(true, 8)]
|
|
[Description("推销组")]
|
|
[StringLength(50)]
|
|
public string PromotionGroup { get; set; }
|
|
[IsDataGridColum(true, 9)]
|
|
[Description("物料类型")]
|
|
[StringLength(50)]
|
|
public string PartType { get; set; }
|
|
[IsDataGridColum(true, 10)]
|
|
[Description("状态")]
|
|
[StringLength(50)]
|
|
public string Status { get; set; }
|
|
[IsDataGridColum(true, 11)]
|
|
[Description("组")]
|
|
[StringLength(50)]
|
|
public string Group { get; set; }
|
|
[IsDataGridColum(true, 12)]
|
|
[Description("图纸")]
|
|
[StringLength(50)]
|
|
public string Drawing { get; set; }
|
|
[IsDataGridColum(true, 13)]
|
|
[Description("项目修改")]
|
|
[StringLength(50)]
|
|
public string PartRevision { get; set; }
|
|
[IsDataGridColum(true, 14)]
|
|
[Description("图纸位置")]
|
|
[StringLength(50)]
|
|
public string DrawingLocation { get; set; }
|
|
[IsDataGridColum(true, 15)]
|
|
[Description("大小")]
|
|
[StringLength(50)]
|
|
public string Size { get; set; }
|
|
[IsDataGridColum(true, 16)]
|
|
[Description("价格折扣种类")]
|
|
[StringLength(50)]
|
|
public string PriceBreakCategory { get; set; }
|
|
[IsDataGridColum(true, 17)]
|
|
[Description("辅材")]
|
|
public bool AuxiliaryMaterial { get; set; }
|
|
[IsDataGridColum(true, 18)]
|
|
[Description("下线结算")]
|
|
public bool OfflineSettlement { get; set; }
|
|
[IsDataGridColum(true, 19)]
|
|
[Description("Q等级")]
|
|
[StringLength(50)]
|
|
public string Qgrade { get; set; }
|
|
[IsDataGridColum(true, 20)]
|
|
[Description("零件种类")]
|
|
[StringLength(50)]
|
|
public string WmsPartType { get; set; }
|
|
[IsDataGridColum(true, 21)]
|
|
[Description("管理方式")]
|
|
[StringLength(50)]
|
|
public string ManageWay { get; set; }
|
|
[IsDataGridColum(true, 22)]
|
|
[Description("存货代码")]
|
|
[StringLength(50)]
|
|
public string InventoryCode { get; set; }
|
|
[IsDataGridColum(true, 23)]
|
|
[Description("管理类型(批量/单件)")]
|
|
[StringLength(50)]
|
|
public string ManageType { get; set; }
|
|
[IsDataGridColum(true, 24)]
|
|
[Description("是否检验")]
|
|
[StringLength(50)]
|
|
public string InspectType { get; set; }
|
|
|
|
[Key]
|
|
public Guid GUID { get; set; } = Guid.NewGuid();
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int UID { get; set; }
|
|
[IsDataGridColum(true, 25)]
|
|
[Description("创建人")]
|
|
[StringLength(50)]
|
|
public string CreateUser { get; set; }
|
|
[IsDataGridColum(true, 26)]
|
|
[Description("创建时间")]
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
[IsDataGridColum(true, 27)]
|
|
[Description("备注")]
|
|
public string Remark { get; set; }
|
|
[IsDataGridColum(true, 28)]
|
|
[Description("任务编号")]
|
|
public Guid TaskID { get; set; }
|
|
[IsDataGridColum(true, 29)]
|
|
[Description("命令类型")]
|
|
[StringLength(50)]
|
|
public string CommandType { get; set; }
|
|
[IsDataGridColum(true, 30)]
|
|
[Description("数据ID")]
|
|
public Guid DataID { get; set; }
|
|
|
|
[Description("域")]
|
|
[StringLength(50)]
|
|
public string Domain { get; set; }
|
|
|
|
[Description("地点")]
|
|
[StringLength(50)]
|
|
public string Site { get; set; }
|
|
}
|
|
}
|