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.
DSWMS/Vue.Net/VOL.Entity/DomainModels/WMS/VMsTruckCtn.cs

49 lines
1.3 KiB
C#

2 years ago
/*
*,
*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; }
}
}