|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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 = "INFO_GOODS")]
|
|
|
public class INFO_GOODS:BaseEntity
|
|
|
{
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="GID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public Guid GID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///账册id
|
|
|
/// </summary>
|
|
|
[Display(Name ="账册id")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
[ParentId("")]
|
|
|
public Guid ACCBOOKID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///序号
|
|
|
/// </summary>
|
|
|
[Display(Name ="序号")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? ORDERNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///物料号
|
|
|
/// </summary>
|
|
|
[Display(Name ="物料号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string MATERIALNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///商品编码
|
|
|
/// </summary>
|
|
|
[Display(Name ="商品编码")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string HSCODE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///商品名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="商品名称")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///商品规格
|
|
|
/// </summary>
|
|
|
[Display(Name ="商品规格")]
|
|
|
[MaxLength(600)]
|
|
|
[Column(TypeName="varchar(600)")]
|
|
|
public string GOODSMODEL { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///产销国(地区)
|
|
|
/// </summary>
|
|
|
[Display(Name ="产销国(地区)")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string COUNTRY { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///申报计量单位
|
|
|
/// </summary>
|
|
|
[Display(Name ="申报计量单位")]
|
|
|
[MaxLength(20)]
|
|
|
[Column(TypeName="varchar(20)")]
|
|
|
public string REPORTUNIT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///法定计量单位
|
|
|
/// </summary>
|
|
|
[Display(Name ="法定计量单位")]
|
|
|
[MaxLength(20)]
|
|
|
[Column(TypeName="varchar(20)")]
|
|
|
public string RULEUNIT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///法定第二计量单位
|
|
|
/// </summary>
|
|
|
[Display(Name ="法定第二计量单位")]
|
|
|
[MaxLength(20)]
|
|
|
[Column(TypeName="nchar(20)")]
|
|
|
public string RULEUNIT2 { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///单价
|
|
|
/// </summary>
|
|
|
[Display(Name ="单价")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? PRICE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///币制
|
|
|
/// </summary>
|
|
|
[Display(Name ="币制")]
|
|
|
[MaxLength(10)]
|
|
|
[Column(TypeName="varchar(10)")]
|
|
|
public string CURRENCYSTR { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///海关执行标志
|
|
|
/// </summary>
|
|
|
[Display(Name ="海关执行标志")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string ZHIXINGBIAOZHI { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///存储(监管)期限
|
|
|
/// </summary>
|
|
|
[Display(Name ="存储(监管)期限")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string JIANGUANQIXIAN { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///修改标志
|
|
|
/// </summary>
|
|
|
[Display(Name ="修改标志")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string XIUGAIBIAOZHI { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///记账清单编号
|
|
|
/// </summary>
|
|
|
[Display(Name ="记账清单编号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string JIZHANGQINGDANNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///记账清单产品序号
|
|
|
/// </summary>
|
|
|
[Display(Name ="记账清单产品序号")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? JIZHANGQINGDANORDER { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///备注
|
|
|
/// </summary>
|
|
|
[Display(Name ="备注")]
|
|
|
[MaxLength(100)]
|
|
|
[Column(TypeName="varchar(100)")]
|
|
|
[Editable(true)]
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
|
|
|
}
|
|
|
} |