using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Business.Domain { /// /// 计划订单表 /// [Comment("计划订单表")] [Index(nameof(PlanMonth),nameof(Model),nameof(ItemNum),nameof(Type), nameof(tenant_id),nameof(company_id), nameof(factory_id), IsUnique = true)] public class crm_planorder : BaseEntity { /// /// 计划补货月份 /// [Comment("计划补货月份")] public string PlanMonth { get; set; } /// /// 规格型号 /// [Comment("规格型号")] public string Model { get; set; } /// /// 物料编码 /// [Comment("物料编码")] public string ItemNum { get; set; } /// /// 产品线 /// [Comment("产品线")] public string ProdLine { get; set; } /// /// 产品类型 /// [Comment("产品类型")] public string ProdType { get; set; } /// /// 需补货数量 /// [Comment("需补货数量")] public decimal Qty { get; set; } /// /// 计划订单类型 /// [Comment("计划订单类型")] public string Type { get; set; } /// /// 产生方式 /// [Comment("产生方式")] public string Source { get; set; } } }