| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- 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.ComponentModel.DataAnnotations.Schema;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Business.Model.Production
- {
- /// <summary>
- /// 生成工单子表
- /// </summary>
- [CollectionName("dopbase", "mes_moentry")]
- [Comment("生成工单子表")]
- public class mes_moentry : BaseEntity
- {
- ///// <summary>
- ///// 生产工单子表id
- ///// </summary>
- //[Key]
- //[Comment("生产工单子表id")]
- //public long moentry_id { get; set; }
- /// <summary>
- /// 工单主表id
- /// </summary>
- [Comment("工单主表id")]
- public long? moentry_moid { get; set; }
- /// <summary>
- /// 工单编号
- /// </summary>
- [StringLength(80)]
- [Comment("工单编号")]
- public string? moentry_mono { get; set; }
- /// <summary>
- /// 订单行id
- /// </summary>
- [Comment("订单行id")]
- public long? soentry_id { get; set; }
- /// <summary>
- /// 订单行号
- /// </summary>
- [Comment("订单行号")]
- public long? fentry_id { get; set; }
- /// <summary>
- /// 订单编号
- /// </summary>
- [StringLength(80)]
- [Comment("订单编号")]
- public string? fbill_no { get; set; }
- /// <summary>
- /// 单位
- /// </summary>
- [StringLength(80)]
- [Comment("单位")]
- public string? unit { get; set; }
- /// <summary>
- /// 工单生产数量(计划数量)
- /// </summary>
- [Precision(23, 10)]
- [Comment("工单生产数量(计划数量)")]
- public decimal? morder_production_number { get; set; }
- /// <summary>
- /// 需求数量
- /// </summary>
- [Precision(23, 10)]
- [Comment("需求数量")]
- public decimal? need_number { get; set; }
- /// <summary>
- /// 剩余可用数量
- /// </summary>
- [Precision(23, 10)]
- [Comment("剩余可用数量")]
- public decimal? remaining_number { get; set; }
- /// <summary>
- /// 计算ID
- /// </summary>
- [Comment("计算id")]
- [NotMapped]
- public long? bang_id { get; set; }
- }
- }
|