using Business.Core.Attributes;
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
namespace Business.Domain
{
///
/// 生产工单信息
///
[CollectionName("dopbase", "b_mo_order")]
[Comment("生产工单明细")]
public class b_mo_order : BaseEntity
{
///
/// 物料检查明细ID
///
[Comment("物料检查明细ID")]
public long? bom_child_examine_id { get; set; }
///
/// 生产工单编号
///
[Comment("生产工单编号")]
[StringLength(50)]
public string morder_no { get; set; }
///
/// 生产组织名称
///
[Comment("生产组织名称")]
[StringLength(50)]
public string moentry_prdname { get; set; }
///
/// 工作中心名称
///
[Comment("工作中心名称")]
[StringLength(50)]
public string moentry_wrkcname { get; set; }
///
/// 生产工单开始日期
///
[Comment("生产工单开始日期")]
public DateTime? moentry_stime { get; set; }
///
/// 生产工单结束日期
///
[Comment("生产工单结束日期")]
public DateTime? moentry_etime { get; set; }
///
/// 系统建议开工时间
///
[Comment("系统建议开工时间")]
public DateTime? moentry_sys_stime { get; set; }
///
/// 系统建议完工时间
///
[Comment("系统建议完工时间")]
public DateTime? moentry_sys_etime { get; set; }
///
/// 实际开始时间
///
[Comment("实际开始时间")]
public DateTime? reality_start_time { get; set; }
///
/// 实际结束时间
///
[Comment("实际结束时间")]
public DateTime? reality_end_time { get; set; }
///
/// 工单所需工时
///
[Comment("工单所需工时")]
[Precision(23, 10)]
public decimal? morder_need_time { get; set; }
///
/// 工单生产数量(计划数量)
///
[Comment("工单生产数量")]
[Precision(23, 10)]
public decimal? morder_production_number { get; set; }
///
/// 需求数量
///
[Comment("需求数量")]
[Precision(23, 10)]
public decimal? need_number { get; set; }
}
}