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