|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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 = "Code_goods")]
|
|
|
public class Code_goods:BaseEntity
|
|
|
{
|
|
|
/// <summary>
|
|
|
///货物代码
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="货物代码")]
|
|
|
[MaxLength(36)]
|
|
|
[Column(TypeName= "varchar(36)")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public string GID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///商品编码
|
|
|
/// </summary>
|
|
|
[Display(Name ="商品编码")]
|
|
|
[MaxLength(30)]
|
|
|
[Column(TypeName="varchar(30)")]
|
|
|
[Editable(true)]
|
|
|
public string GOODCODE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///商品名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="商品名称")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string GOODNAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///商品描述
|
|
|
/// </summary>
|
|
|
[Display(Name ="商品描述")]
|
|
|
[MaxLength(200)]
|
|
|
[Column(TypeName="varchar(200)")]
|
|
|
[Editable(true)]
|
|
|
public string DESCRIP { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="ARRATE")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? ARRATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="APRATE")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? APRATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="AROUTRATE")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? AROUTRATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="APOUTRATE")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? APOUTRATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否停用
|
|
|
/// </summary>
|
|
|
[Display(Name ="是否停用")]
|
|
|
[Column(TypeName="bit")]
|
|
|
[Editable(true)]
|
|
|
public bool? ISSTOP { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///货物大类
|
|
|
/// </summary>
|
|
|
[Display(Name ="货物大类")]
|
|
|
[MaxLength(36)]
|
|
|
[Column(TypeName="varchar(36)")]
|
|
|
[Editable(true)]
|
|
|
public string GoodsTypeGID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="GOODNO")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string GOODNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="CREATEUSER")]
|
|
|
[MaxLength(36)]
|
|
|
[Column(TypeName="varchar(36)")]
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///建立时间
|
|
|
/// </summary>
|
|
|
[Display(Name ="建立时间")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="CORPID")]
|
|
|
[MaxLength(36)]
|
|
|
[Column(TypeName="varchar(36)")]
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///计费品类
|
|
|
/// </summary>
|
|
|
[Display(Name ="计费品类")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string GOODSFEETYPE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///法定第二计量单位
|
|
|
/// </summary>
|
|
|
[Display(Name ="法定第二计量单位")]
|
|
|
[MaxLength(20)]
|
|
|
[Column(TypeName="varchar(20)")]
|
|
|
[Editable(true)]
|
|
|
public string RULEUNIT2 { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///申报单位
|
|
|
/// </summary>
|
|
|
[Display(Name ="申报单位")]
|
|
|
[MaxLength(20)]
|
|
|
[Column(TypeName="varchar(20)")]
|
|
|
[Editable(true)]
|
|
|
public string RULEUNIT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///法定第一计量单位
|
|
|
/// </summary>
|
|
|
[Display(Name ="法定第一计量单位")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string RULEUNIT1 { get; set; }
|
|
|
|
|
|
|
|
|
}
|
|
|
} |