/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化,请在代码生器重新生成此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_STOREHOUSE")]
public class OP_WMS_STOREHOUSE:BaseEntity
{
///
///
///
[Key]
[Display(Name ="Id")]
[Column(TypeName="int")]
[Required(AllowEmptyStrings=false)]
public int Id { get; set; }
///
///公司名称
///
[Display(Name ="公司名称")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
[Editable(true)]
public string CORPNAME { get; set; }
///
///仓库编码
///
[Display(Name ="仓库编码")]
[MaxLength(4)]
[Column(TypeName="varchar(4)")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public string AREACODE { get; set; }
///
///仓库名称
///
[Display(Name ="仓库名称")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
[Editable(true)]
public string AREANAME { get; set; }
///
///是否正在使用
///
[Display(Name ="是否正在使用")]
[Column(TypeName="int")]
[Editable(true)]
public int? INUSE { get; set; }
///
///是否自有仓库
///
[Display(Name ="是否自有仓库")]
[Column(TypeName="int")]
[Editable(true)]
public int? ISOWN { get; set; }
///
///备注
///
[Display(Name ="备注")]
[MaxLength(100)]
[Column(TypeName="varchar(100)")]
[Editable(true)]
public string REMARK { get; set; }
///
///账册编号
///
[Display(Name ="账册编号")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
[Editable(true)]
public string ACCBOOKNO { get; set; }
///
///是否保税
///
[Display(Name ="是否保税")]
[Column(TypeName="bit")]
[Editable(true)]
public bool? ISBONDED { get; set; }
///
///仓库类型
///
[Display(Name ="仓库类型")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
[Editable(true)]
public string STOREHOUSETYPE { get; set; }
///
///公众号地图样式
///
[Display(Name ="公众号地图样式")]
[Column(TypeName="varchar(max)")]
[Editable(true)]
public string MAPHTML { get; set; }
///
///
///
[Display(Name ="CreateID")]
[Column(TypeName="uniqueidentifier")]
public Guid? CreateID { get; set; }
///
///建立人
///
[Display(Name ="建立人")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string Creator { get; set; }
///
///建立日期
///
[Display(Name ="建立日期")]
[Column(TypeName="datetime")]
public DateTime? CreateDate { get; set; }
}
}