|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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 = "Wms_stevedores")]
|
|
|
public class Wms_stevedores:BaseEntity
|
|
|
{
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="GID")]
|
|
|
[MaxLength(100)]
|
|
|
[Column(TypeName="varchar(100)")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public string GID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///分公司
|
|
|
/// </summary>
|
|
|
[Display(Name ="分公司")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///姓名
|
|
|
/// </summary>
|
|
|
[Display(Name ="姓名")]
|
|
|
[MaxLength(100)]
|
|
|
[Column(TypeName="varchar(100)")]
|
|
|
[Editable(true)]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///编码
|
|
|
/// </summary>
|
|
|
[Display(Name ="编码")]
|
|
|
[MaxLength(100)]
|
|
|
[Column(TypeName="varchar(100)")]
|
|
|
[Editable(true)]
|
|
|
public string CODE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///电话
|
|
|
/// </summary>
|
|
|
[Display(Name ="电话")]
|
|
|
[MaxLength(100)]
|
|
|
[Column(TypeName="varchar(100)")]
|
|
|
[Editable(true)]
|
|
|
public string PHONE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///备注
|
|
|
/// </summary>
|
|
|
[Display(Name ="备注")]
|
|
|
[MaxLength(512)]
|
|
|
[Column(TypeName="varchar(512)")]
|
|
|
[Editable(true)]
|
|
|
public string OTHER { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="UpdateTime")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? UpdateTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="PriceJian")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public decimal PriceJian { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="PriceLiangTon")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public decimal PriceLiangTon { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="CreateID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? CreateID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///建立人
|
|
|
/// </summary>
|
|
|
[Display(Name ="建立人")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string Creator { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///建立日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="建立日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? CreateDate { get; set; }
|
|
|
|
|
|
|
|
|
}
|
|
|
} |