using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Business.Domain
{
///
/// 物料主表
///
[Comment("物料主表")]
public class ItemMaster
{
///
/// 主键
///
[Comment("主键")]
[Key]
public int RecID { get; set; }
///
/// 域名
///
[Comment("域名")]
public string Domain { get; set; }
///
/// 租户ID
///
[Comment("租户ID")]
public long? tenant_id { get; set; }
///
/// 物料编号
///
[Comment("物料编号")]
public string ItemNum { get; set; }
///
/// 单位
///
[Comment("单位")]
public string UM { get; set; }
///
/// 安全库存
///
[Comment("安全库存")]
public decimal SafetyStk { get; set; }
///
/// 状态:C为不可用状态
///
[Comment("状态")]
public string Status { get; set; }
///
/// 状态:C为不可用状态
///
[Comment("状态")]
public string Location { get; set; }
public string Descr { get; set; }
public string Descr1 { get; set; }
public string PurMfg { get; set; }
public bool IsMainMas { get; set; }
public decimal? NetWeight { get; set; }
public string NetWeightUM { get; set; }
public decimal? Length { get; set; }
public decimal? Width { get; set; }
public decimal? Height { get; set; }
public bool LotSerialControl { get; set; }
public string DefaultShelf { get; set; }
public decimal MaxOrd { get; set; }
public decimal MinOrd { get; set; }
///
/// 前处理天数
///
public int? MFGMTTR { get; set; }
///
/// 是否前处理
///
[Comment("是否前处理")]
public bool IssuePolicy { get; set; }
///
/// 是否有效:1-有效;0-无效
///
[Comment("是否有效")]
public bool IsActive { get; set; }
///
/// 是否打标:1-打标;0-不达标
///
[Comment("是否打标")]
public bool Install { get; set; }
///
/// 是否有效:1-有效;0-无效
///
[Comment("是否整包发料")]
public bool TraceDetail { get; set; }
///
/// 供应提前期
///
[Comment("供应提前期")]
public int PurLT { get; set; }
///
/// bom设计时间
///
public decimal? BOMDesignTime { get; set; }
///
/// 工艺设计时间
///
public decimal? RoutingDesignTime { get; set; }
///
/// 存货周转率
///
[Comment("存货周转率")]
public decimal StockTurnOver { get; set; }
///
/// 物料类型
///
public string ItemType { get; set; }
///
/// 版本
///
[Comment("版本")]
public string Rev { get; set; }
///
/// BOM
///
public string PMBOM { get; set; }
///
/// 检验天数
///
[Comment("检验天数")]
public int InsLT { get; set; }
///
/// 特殊采购类型
///
public string EMTType { get; set; }
///
/// 起订量
///
[Comment("起订量")]
public decimal MinOrdSales { get; set; }
///
/// 订单倍数
///
[Comment("订单倍数")]
public decimal OrdMult { get; set; }
///
/// 是否需要走MRP
///
[Comment("是否需要走MRP")]
public short MRPRequired { get; set; }
///
/// 物料类型
///
public string Drawing { get; set; }
///
/// 物料状态
///
public string PORcptStatus { get; set; }
public string Series { get; set; }
}
}