You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.7 KiB

/*
*,
*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 = "省市列表")]
public class vProvinceCity:BaseEntity
{
/// <summary>
///
/// </summary>
[Key]
[Display(Name ="ProvinceId")]
[Column(TypeName="int")]
[Required(AllowEmptyStrings=false)]
public int ProvinceId { get; set; }
/// <summary>
///省编号
/// </summary>
[Display(Name ="省编号")]
[MaxLength(20)]
[Column(TypeName="nvarchar(20)")]
[Required(AllowEmptyStrings=false)]
public string ProvinceCode { get; set; }
/// <summary>
///省
/// </summary>
[Display(Name ="省")]
[MaxLength(30)]
[Column(TypeName="nvarchar(30)")]
[Required(AllowEmptyStrings=false)]
public string ProvinceName { get; set; }
/// <summary>
///市编号
/// </summary>
[Display(Name ="市编号")]
[MaxLength(20)]
[Column(TypeName="nvarchar(20)")]
[Required(AllowEmptyStrings=false)]
public string CityCode { get; set; }
/// <summary>
///市
/// </summary>
[Display(Name ="市")]
[MaxLength(30)]
[Column(TypeName="nvarchar(30)")]
[Required(AllowEmptyStrings=false)]
public string CityName { get; set; }
}
}