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.
32 lines
777 B
32 lines
777 B
2 years ago
|
using System;
|
||
|
using System.ComponentModel.DataAnnotations;
|
||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
using Znyc.Cloudcar.Admin.Commons.Entitys;
|
||
|
|
||
|
namespace Znyc.Cloudcar.Admin.Security.Entitys
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 省市区表,数据实体对象
|
||
|
/// </summary>
|
||
|
//[Table("Znyc.sys_region")]
|
||
|
[Table("sys_region")]
|
||
|
[Serializable]
|
||
|
public class RegionEntity : BaseEntity
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 父级
|
||
|
/// </summary>
|
||
|
public long ParentId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// id
|
||
|
/// </summary>
|
||
|
public long RegionId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 名称
|
||
|
/// </summary>
|
||
|
[MaxLength(50)]
|
||
|
public string Name { get; set; }
|
||
|
}
|
||
|
}
|