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