|
|
|
|
/*
|
|
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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 VOL.Entity.SystemModels;
|
|
|
|
|
|
|
|
|
|
namespace VOL.Entity.DomainModels
|
|
|
|
|
{
|
|
|
|
|
[Entity(TableCnName = "工作量表",TableName = "VW_OP_WMS_WORKDETAIL")]
|
|
|
|
|
public class VW_OP_WMS_WORKDETAIL:BaseEntity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///主键ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Key]
|
|
|
|
|
[Display(Name ="主键ID")]
|
|
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public Guid WORKDETAILID { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///父级ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="父级ID")]
|
|
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
|
|
[ParentId("")]
|
|
|
|
|
public Guid? WMSDOID { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///工作人员
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="工作人员")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
public string WORKER { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///工作日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="工作日期")]
|
|
|
|
|
[Column(TypeName="datetime")]
|
|
|
|
|
public DateTime? WORKDATE { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///作业名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="作业名称")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
public string WORKNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///工作量实际量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="工作量实际量")]
|
|
|
|
|
[Column(TypeName="numeric")]
|
|
|
|
|
public decimal? WORKLOADCOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///工作量系数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="工作量系数")]
|
|
|
|
|
[Column(TypeName="numeric")]
|
|
|
|
|
public decimal? SCALE { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///工作量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="工作量")]
|
|
|
|
|
[Column(TypeName="numeric")]
|
|
|
|
|
public decimal? WORKLOAD { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="备注")]
|
|
|
|
|
[MaxLength(200)]
|
|
|
|
|
[Column(TypeName="varchar(200)")]
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///分公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="分公司")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|