/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化,请在代码生器重新生成此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_FEERATE",DetailTable = new Type[] { typeof(OP_WMS_FEERATE_DETAIL)},DetailTableCnName = "OP_WMS_FEERATE_DETAIL")]
public class OP_WMS_FEERATE:BaseEntity
{
///
///
///
[Key]
[Display(Name ="FEERATEID")]
[Column(TypeName="uniqueidentifier")]
[Required(AllowEmptyStrings=false)]
public Guid FEERATEID { get; set; }
///
///客户名称
///
[Display(Name ="客户名称")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
[Editable(true)]
public string CUSTOMERNAME { get; set; }
///
///计费品类
///
[Display(Name ="计费品类")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
[Editable(true)]
public string GOODSFEETYPE { get; set; }
///
///备注
///
[Display(Name ="备注")]
[MaxLength(500)]
[Column(TypeName="varchar(500)")]
[Editable(true)]
public string REMARK { get; set; }
///
///分公司
///
[Display(Name ="分公司")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
[Editable(true)]
public string CORPID { get; set; }
///
///是否启用
///
[Display(Name ="是否启用")]
[Column(TypeName="bit")]
[Editable(true)]
public bool? INUSE { get; set; }
[Display(Name ="OP_WMS_FEERATE_DETAIL")]
[ForeignKey("FEERATEID")]
public List OP_WMS_FEERATE_DETAIL { get; set; }
}
}