using Business.Core.Attributes;
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
namespace Business.Domain
{
///
/// 委外工单明细
///
[CollectionName("dopbase", "b_ooder")]
[Comment("采购占用明细")]
public class b_ooder : BaseEntity
{
///
/// 物料检查明细ID
///
[Comment("物料检查明细ID")]
public long? bom_child_examine_id { get; set; }
///
/// 工单编号
///
[Comment("工单编号")]
[StringLength(50)]
public string oorder_no { get; set; }
///
/// 委外订单日期
///
[Comment("委外订单日期")]
public DateTime? oorder_date { get; set; }
///
/// 生产组织名称
///
[Comment("生产组织名称")]
[StringLength(50)]
public string ooentry_prdname { get; set; }
///
/// 计划开工日期
///
[Comment("计划开工日期")]
public DateTime? ooentry_stime { get; set; }
///
/// 计划完工日期
///
[Comment("计划完工日期")]
public DateTime? ooentry_etime { get; set; }
///
/// 工单生产数量(计划数量)
///
[Comment("工单生产数量")]
[Precision(23, 10)]
public decimal? morder_production_number { get; set; }
///
/// 加工单位
///
[Comment("加工单位")]
[StringLength(100)]
public string production_unit { get; set; }
///
/// 加工单位编码
///
[Comment("加工单位编码")]
[StringLength(20)]
public string production_unit_code { get; set; }
}
}