2025-06-06 16:00:39 +08:00

66 lines
1.7 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化请在代码生器重新生成此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; }
}
}