using Business.Core.Attributes;
using Business.Model;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Bussiness.Model.ProductionProcess
{
///
/// 生产报工记录表
///
[CollectionName("dopbase", "mes_mereport")]
public class mes_mereport :BaseEntity
{
/////
///// 主键ID
/////
//[Key]
//[Description("生产报工记录Id")]
//public long mereport_id { get; set; }
///
/// 生产工单id
///
[Description("生产工单id")]
public long morder_id { get; set; }
///
/// 生产工单号
///
[Required]
[StringLength(50)]
[Description("生产工单号")]
public string morder_no { get; set; }
///
/// 报工数量
///
[Precision(20, 10)]
[Description("报工数量")]
public decimal qty { get; set; }
///
/// 报工时间
///
[Description("报工时间")]
public DateTime report_time { get; set; }
///
/// 报工人id
///
[Description("报工人id")]
public long report_by { get; set; }
///
/// 报工人工号
///
[Required]
[StringLength(50)]
[Description("报工人工号")]
public string report_byno { get; set; }
///
/// 已报数量
///
[Precision(20, 10)]
[Description("报工数量")]
public decimal instock_qty { get; set; }
}
}