using Business.Core.Attributes;
using Business.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Business.StructuredDB.MES
{
///
/// 生产日计划表
///
[CollectionName("dopbase", "mes_moentry")]
[Comment("生产日计划表")]
public class mes_producedailyplan : BaseEntity
{
/////
///// 无
/////
//public long Id { get; set; }
///
/// 产品线
///
[Comment("产品线")]
[StringLength(128)]
public string Line { get; set; }
///
/// 生产周次
///
[Comment("生产周次")]
[StringLength(128)]
public string StartWeeks { get; set; }
///
/// 生产指令单
///
[Comment("生产指令单")]
[StringLength(128)]
public string ProductionOrder { get; set; }
///
/// 生产批号
///
[Comment("生产批号")]
[StringLength(128)]
public string ProduceNumber { get; set; }
///
/// 料号
///
[Comment("料号")]
[StringLength(128)]
public string ItemNum { get; set; }
///
/// 规格型号
///
[Comment("规格型号")]
[StringLength(128)]
public string Model { get; set; }
///
/// 语种
///
[Comment("语种")]
[StringLength(50)]
public string Languages { get; set; }
///
/// 是否打二维码
///
[Comment("是否打二维码")]
public bool? IsQRCode { get; set; }
///
/// 计划数量
///
[Comment("计划数量")]
[Precision(18, 5)]
public decimal? QtyOrded { get; set; }
///
/// 计划开始时间
///
[Comment("计划开始时间")]
public DateTime? OrdDate { get; set; }
///
/// 计划结束时间
///
[Comment("计划结束时间")]
public DateTime? DueDate { get; set; }
///
/// 工单状态
///
[Comment("工单状态")]
[StringLength(50)]
public string Status { get; set; }
///
/// 物料情况
///
[Comment("物料情况")]
[StringLength(50)]
public string MaterialSituation { get; set; }
///
/// 灭菌日期
///
[Comment("灭菌日期")]
public DateTime? SterilizationDate { get; set; }
}
}