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

63 lines
1.6 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.

using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
/*
*Authorjxx
*Contact283591387@qq.com
*Date2018-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_Province")]
[EntityAttribute(TableCnName = "省份")]
public class Sys_Province : BaseEntity
{
/// <summary>
///Id
/// </summary>
[Key]
[Display(Name = "Id")]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Column(TypeName = "int")]
[Required(AllowEmptyStrings = false)]
public int ProvinceId { get; set; }
/// <summary>
///省份Code
/// </summary>
[Display(Name = "省份Code")]
[MaxLength(50)]
[Column(TypeName = "nvarchar(50)")]
[Comment("省份Code")]
[Editable(true)]
public string ProvinceCode { get; set; }
/// <summary>
///省份名称
/// </summary>
[Display(Name = "省份名称")]
[MaxLength(50)]
[Column(TypeName = "nvarchar(50)")]
[Comment("省份名称")]
[Editable(true)]
public string ProvinceName { get; set; }
/// <summary>
///大区Code
/// </summary>
[Display(Name = "大区Code")]
[MaxLength(50)]
[Column(TypeName = "nvarchar(50)")]
[Comment("大区Code")]
[Editable(true)]
public string RegionCode { get; set; }
}
}