|
|
|
|
/*
|
|
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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 = "OP_WMS_WORKNAME")]
|
|
|
|
|
public class OP_WMS_WORKNAME:BaseEntity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///主键ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Key]
|
|
|
|
|
[Display(Name ="主键ID")]
|
|
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public Guid WORKNAMEID { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///工作内容
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="工作内容")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string WORKNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///工作量系数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="工作量系数")]
|
|
|
|
|
[DisplayFormat(DataFormatString="18,3")]
|
|
|
|
|
[Column(TypeName="decimal")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public decimal? SCALE { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="备注")]
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
[Column(TypeName="nchar(20)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="CreateID")]
|
|
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
|
|
public Guid? CreateID { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///建立人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="建立人")]
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
[Column(TypeName="nchar(20)")]
|
|
|
|
|
public string Creator { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///建立时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="建立时间")]
|
|
|
|
|
[Column(TypeName="datetime")]
|
|
|
|
|
public DateTime? CreateDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="ModifyID")]
|
|
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
|
|
public Guid? ModifyID { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///修改人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="修改人")]
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
[Column(TypeName="nchar(20)")]
|
|
|
|
|
public string Modifier { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///修改时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="修改时间")]
|
|
|
|
|
[Column(TypeName="datetime")]
|
|
|
|
|
public DateTime? ModifyDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///分公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="分公司")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|