vxe模式的tree表格
This commit is contained in:
@@ -13,87 +13,84 @@ namespace ZR.Model.mes.md
|
||||
/// <summary>
|
||||
/// 流水号
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true )]
|
||||
public int Id { get; set; }
|
||||
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 父产品名称id
|
||||
/// 父产品id
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="parent_id" )]
|
||||
public int? ParentId { get; set; }
|
||||
[SugarColumn(ColumnName = "parent_product_id")]
|
||||
public int? ParentProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 父产品名称code
|
||||
/// 产品编号
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="parent_code" )]
|
||||
public string ParentCode { get; set; }
|
||||
[SugarColumn(ColumnName = "product_code")]
|
||||
public string ProductCode { get; set; }
|
||||
/// <summary>
|
||||
/// 父产品名称name
|
||||
/// 产品名称
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="parent_name" )]
|
||||
public string ParentName { get; set; }
|
||||
[SugarColumn(ColumnName = "product_name")]
|
||||
public string ProductName { get; set; }
|
||||
/// <summary>
|
||||
/// 子项物料编号
|
||||
/// 零件类型
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="material_code" )]
|
||||
public string MaterialCode { get; set; }
|
||||
/// <summary>
|
||||
/// 子项物料名称
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="material_name" )]
|
||||
public string MaterialName { get; set; }
|
||||
/// <summary>
|
||||
/// 类型(产品,物料)
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="material_type" )]
|
||||
public string MaterialType { get; set; }
|
||||
[SugarColumn(ColumnName = "product_type")]
|
||||
public string ProductType { get; set; }
|
||||
/// <summary>
|
||||
/// 安全库存
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="safety_stock" )]
|
||||
public int? SafetyStock { get; set; }
|
||||
[SugarColumn(ColumnName = "safety_stock")]
|
||||
public int? SafetyStock { get; set; }
|
||||
/// <summary>
|
||||
/// 位置
|
||||
/// 位置/来源
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="material_position" )]
|
||||
public string MaterialPosition { get; set; }
|
||||
[SugarColumn(ColumnName = "product_position")]
|
||||
public string ProductPosition { get; set; }
|
||||
/// <summary>
|
||||
/// 需求数量
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="requireNum" )]
|
||||
public int? RequireNum { get; set; }
|
||||
[SugarColumn(ColumnName = "requireNum")]
|
||||
public int? RequireNum { get; set; }
|
||||
/// <summary>
|
||||
/// 子项单位id
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="unit_id" )]
|
||||
public int? UnitId { get; set; }
|
||||
[SugarColumn(ColumnName = "unit_id")]
|
||||
public int? UnitId { get; set; }
|
||||
/// <summary>
|
||||
/// 租户号
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="TENANT_ID" )]
|
||||
public string TenantId { get; set; }
|
||||
[SugarColumn(ColumnName = "TENANT_ID")]
|
||||
public string TenantId { get; set; }
|
||||
/// <summary>
|
||||
/// 乐观锁
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="REVISION" )]
|
||||
public int? Revision { get; set; }
|
||||
[SugarColumn(ColumnName = "REVISION")]
|
||||
public int? Revision { get; set; }
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="CREATED_BY" )]
|
||||
public string CreatedBy { get; set; }
|
||||
[SugarColumn(ColumnName = "CREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="CREATED_TIME" )]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
[SugarColumn(ColumnName = "CREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="UPDATED_BY" )]
|
||||
public string UpdatedBy { get; set; }
|
||||
[SugarColumn(ColumnName = "UPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="UPDATED_TIME" )]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
[SugarColumn(ColumnName = "UPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
|
||||
[SqlSugar.SugarColumn(IsIgnore = true)]
|
||||
public List<MdBom> Child { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user