using Microsoft.EntityFrameworkCore; using Newtonsoft.Json; /* *Author:jxx *Contact:283591387@qq.com *Date:2018-07-01 * 此代码由框架生成,请勿随意更改 */ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using VOL.Entity.SystemModels; namespace VOL.Entity.DomainModels { [Table("Sys_City")] [EntityAttribute(TableCnName = "城市")] public class Sys_City : BaseEntity { /// ///Id /// [Key] [Display(Name = "Id")] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Column(TypeName = "int")] [Required(AllowEmptyStrings = false)] public int CityId { get; set; } /// ///省份Code /// [Display(Name = "省份Code")] [MaxLength(50)] [Column(TypeName = "nvarchar(50)")] [Comment("省份Code")] [Editable(true)] public string ProvinceCode { get; set; } /// ///城市名称 /// [Display(Name = "城市名称")] [MaxLength(50)] [Column(TypeName = "nvarchar(50)")] [Comment("城市名称")] [Editable(true)] public string CityName { get; set; } /// ///城市Code /// [Display(Name = "城市Code")] [MaxLength(50)] [Column(TypeName = "nvarchar(50)")] [Comment("城市Code")] [Editable(true)] public string CityCode { get; set; } } }