using System.ComponentModel.DataAnnotations;
namespace MDM.Model.Material
{
///
///
///
[SugarTable("material_bom", "物料BOM")]
public class MaterialBom
{
///
/// 雪花id
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, Length =50)]
public string Id { get; set; }
///
/// 母件编码
///
[SugarColumn(Length = 50, ExtendedAttribute = ProteryConstant.NOTNULL)]
public string InvCode { get; set; }
///
/// 母件名称
///
[SugarColumn(Length = 50, ExtendedAttribute = ProteryConstant.NOTNULL)]
public string InvName { get; set; }
///
/// 子件编码
///
[SugarColumn(Length = 50, ExtendedAttribute = ProteryConstant.NOTNULL)]
public string SubInvCode { get; set; }
///
/// 子件名称子件名称
///
[SugarColumn(Length = 50, ExtendedAttribute = ProteryConstant.NOTNULL)]
public string SubInvName { get; set; }
///
/// 使用数量
///
[SugarColumn(Length = 50)]
public string Iusequantity { get; set; }
///
/// BOM版本号
///
[SugarColumn(Length = 50)]
public string BOMVersion { get; set; }
///
/// CreatedBy
///
[SugarColumn(ColumnName = "created_by", Length = 50, IsNullable = true)]
public string CreatedBy { get; set; }
///
/// CreatedTime
///
[SugarColumn(ColumnName = "created_time")]
public DateTime CreatedTime { get; set; }
///
/// UpdatedBy
///
[SugarColumn(ColumnName = "updated_by", Length = 50, IsNullable = true)]
public string UpdatedBy { get; set; }
///
/// UpdatedTime
///
[SugarColumn(ColumnName = "updated_time")]
public DateTime? UpdatedTime { get; set; }
}
}