using Business.Core.Attributes; using Business.Model; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bussiness.Model.Production { /// /// 生成工单子表 /// [CollectionName("dopbase", "mes_moentry")] public class mes_moentry : BaseEntity { ///// ///// 生产工单子表id ///// //[Key] //[Description("生产工单子表id")] //public long moentry_id { get; set; } /// /// 工单主表id /// [Description("工单主表id")] public long? moentry_moid { get; set; } /// /// 工单编号 /// [StringLength(80)] [Description("工单编号")] public string? moentry_mono { get; set; } /// /// 订单行id /// [Description("订单行id")] public long? soentry_id { get; set; } /// /// 订单行号 /// [Description("订单行号")] public long? fentry_id { get; set; } /// /// 订单编号 /// [StringLength(80)] [Description("订单编号")] public string? fbill_no { get; set; } /// /// 单位 /// [StringLength(80)] [Description("单位")] public string? unit { get; set; } /// /// 工单生产数量(计划数量) /// [Precision(20, 8)] [Description("工单生产数量(计划数量)")] public decimal? morder_production_number { get; set; } /// /// 需求数量 /// [Precision(20, 8)] [Description("需求数量")] public decimal? need_number { get; set; } /// /// 剩余可用数量 /// [Precision(20, 8)] [Description("剩余可用数量")] public decimal? remaining_number { get; set; } /// /// 计算ID /// [Description("计算id")] public long? bang_id { get; set; } } }