You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
/*
|
|
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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 = "VMsTruckCtn")]
|
|
|
|
|
public class VMsTruckCtn:BaseEntity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Key]
|
|
|
|
|
[Display(Name ="编号")]
|
|
|
|
|
[MaxLength(36)]
|
|
|
|
|
[Column(TypeName= "varchar(50)")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public string CtnCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="名称")]
|
|
|
|
|
[MaxLength(10)]
|
|
|
|
|
[Column(TypeName="varchar(10)")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public string CtnName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///编号和名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="编号和名称")]
|
|
|
|
|
[MaxLength(47)]
|
|
|
|
|
[Column(TypeName="varchar(47)")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public string CodeAndName { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|