100 lines
3.1 KiB
C#
100 lines
3.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using SqlSugar;
|
|
namespace ZR.Model.mes.md
|
|
{
|
|
/// <summary>
|
|
/// 物料清单
|
|
///</summary>
|
|
[SugarTable("md_bom")]
|
|
public class MdBom
|
|
{
|
|
/// <summary>
|
|
/// 流水号
|
|
///</summary>
|
|
[SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true )]
|
|
public int Id { get; set; }
|
|
/// <summary>
|
|
/// 父产品名称id
|
|
///</summary>
|
|
[SugarColumn(ColumnName="parent_id" )]
|
|
public int? ParentId { get; set; }
|
|
/// <summary>
|
|
/// 父产品名称code
|
|
///</summary>
|
|
[SugarColumn(ColumnName="parent_code" )]
|
|
public string ParentCode { get; set; }
|
|
/// <summary>
|
|
/// 父产品名称name
|
|
///</summary>
|
|
[SugarColumn(ColumnName="parent_name" )]
|
|
public string ParentName { 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; }
|
|
/// <summary>
|
|
/// 安全库存
|
|
///</summary>
|
|
[SugarColumn(ColumnName="safety_stock" )]
|
|
public int? SafetyStock { get; set; }
|
|
/// <summary>
|
|
/// 位置
|
|
///</summary>
|
|
[SugarColumn(ColumnName="material_position" )]
|
|
public string MaterialPosition { get; set; }
|
|
/// <summary>
|
|
/// 需求数量
|
|
///</summary>
|
|
[SugarColumn(ColumnName="requireNum" )]
|
|
public int? RequireNum { get; set; }
|
|
/// <summary>
|
|
/// 子项单位id
|
|
///</summary>
|
|
[SugarColumn(ColumnName="unit_id" )]
|
|
public int? UnitId { get; set; }
|
|
/// <summary>
|
|
/// 租户号
|
|
///</summary>
|
|
[SugarColumn(ColumnName="TENANT_ID" )]
|
|
public string TenantId { get; set; }
|
|
/// <summary>
|
|
/// 乐观锁
|
|
///</summary>
|
|
[SugarColumn(ColumnName="REVISION" )]
|
|
public int? Revision { get; set; }
|
|
/// <summary>
|
|
/// 创建人
|
|
///</summary>
|
|
[SugarColumn(ColumnName="CREATED_BY" )]
|
|
public string CreatedBy { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
///</summary>
|
|
[SugarColumn(ColumnName="CREATED_TIME" )]
|
|
public DateTime? CreatedTime { get; set; }
|
|
/// <summary>
|
|
/// 更新人
|
|
///</summary>
|
|
[SugarColumn(ColumnName="UPDATED_BY" )]
|
|
public string UpdatedBy { get; set; }
|
|
/// <summary>
|
|
/// 更新时间
|
|
///</summary>
|
|
[SugarColumn(ColumnName="UPDATED_TIME" )]
|
|
public DateTime? UpdatedTime { get; set; }
|
|
}
|
|
}
|