using Business.Core.Attributes;
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using Business.Core.Attributes;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp;
namespace Business.Domain
{
///
/// 物料BOM
///
[CollectionName("dopbase", "mo_ic_bom")]
[Comment("物料BOM")]
public class mo_ic_bom : MoBaseEntity
{
///
/// bom单编号
///
[StringLength(20)]
[Comment("bom单编号")]
public string? bom_number { get; set; }
///
/// 物料id
///
[Required]
[Comment("物料id")]
public long icitem_id { get; set; }
///
/// 物料代码
///
[StringLength(80)]
[Comment("物料代码")]
public string? item_number { get; set; }
///
/// 物料名称
///
[StringLength(200)]
[Comment("物料名称")]
public string? item_name { get; set; }
///
/// 序号
///
[Comment("序号")]
public int bom_num { get; set; }
///
/// 使用状态
///
[Comment("使用状态")]
public int use_status { get; set; }
///
/// 生效日期
///
[Comment("生效日期")]
public DateTime? begin_day { get; set; }
///
/// 失效日期
///
[Comment("失效日期")]
public DateTime? end_day { get; set; }
///
/// 工艺主键
///
[Required]
[Comment("工艺主键")]
public long tech_id { get; set; }
///
/// 工艺名称
///
[StringLength(20)]
[Comment("工艺名称")]
public string? tech_name { get; set; }
///
/// 生产负责人
///
[StringLength(80)]
[Comment("生产负责人")]
public string? product_principal { get; set; }
///
/// 产品设计员
///
[StringLength(80)]
[Comment("产品设计员")]
public string? product_designer { get; set; }
///
/// 版本
///
[StringLength(80)]
[Comment("版本")]
public string? version { get; set; }
///
/// 图表编号
///
[StringLength(80)]
[Comment("图表编号")]
public string? chartnumber { get; set; }
///
/// 图片
///
[StringLength(80)]
[Comment("图片")]
public string? biller { get; set; }
///
/// 检验人
///
[StringLength(80)]
[Comment("检验人")]
public string? checker { get; set; }
///
/// 检验时间
///
[Comment("检验时间")]
public DateTime? check_date { get; set; }
///
/// bom创建人
///
[StringLength(20)]
[Comment("bom创建人")]
public string? user { get; set; }
///
/// bom创建时间
///
[Comment("bom创建时间")]
public DateTime? use_date { get; set; }
///
/// 单位
///
[StringLength(20)]
[Comment("单位")]
public string? unit { get; set; }
}
}