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