84 lines
2.2 KiB
C#
84 lines
2.2 KiB
C#
|
|
/*
|
|||
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|||
|
|
*如果数据库字段发生变化,请在代码生器重新生成此Model
|
|||
|
|
*/
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
using iMES.Entity.SystemModels;
|
|||
|
|
|
|||
|
|
namespace iMES.Entity.DomainModels
|
|||
|
|
{
|
|||
|
|
[Entity(TableCnName = "产量统计",TableName = "View_OutputStatistics")]
|
|||
|
|
public partial class View_OutputStatistics:SysEntity
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
///报工日期
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="报工日期")]
|
|||
|
|
[Column(TypeName="varchar")]
|
|||
|
|
public DateTime? CreateDate { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///工单计划数
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="工单计划数")]
|
|||
|
|
[Column(TypeName="int")]
|
|||
|
|
public int? PlanQty { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///产品名称
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="产品名称")]
|
|||
|
|
[MaxLength(200)]
|
|||
|
|
[Column(TypeName="nvarchar(200)")]
|
|||
|
|
[Required(AllowEmptyStrings=false)]
|
|||
|
|
public string ProductName { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///产品编号
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="产品编号")]
|
|||
|
|
[MaxLength(200)]
|
|||
|
|
[Column(TypeName="nvarchar(200)")]
|
|||
|
|
[Required(AllowEmptyStrings=false)]
|
|||
|
|
public string ProductCode { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///产品规格
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="产品规格")]
|
|||
|
|
[MaxLength(200)]
|
|||
|
|
[Column(TypeName="nvarchar(200)")]
|
|||
|
|
public string ProductStandard { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///单位
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="单位")]
|
|||
|
|
[Column(TypeName="int")]
|
|||
|
|
public int? Unit_Id { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///数量
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="数量")]
|
|||
|
|
[Column(TypeName="int")]
|
|||
|
|
public int? GoodQty { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///主键ID
|
|||
|
|
/// </summary>
|
|||
|
|
[Key]
|
|||
|
|
[Display(Name ="主键ID")]
|
|||
|
|
[Column(TypeName="uniqueidentifier")]
|
|||
|
|
[Required(AllowEmptyStrings=false)]
|
|||
|
|
public Guid ID { get; set; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|