招聘后台
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.

67 lines
1.6 KiB

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Znyc.Recruitment.Admin.Commons.Entitys;
namespace Znyc.Recruitment.Admin.Security.Entitys
{
/// <summary>
/// 行政区域表,数据实体对象
/// </summary>
[Table("sys_area")]
[Serializable]
public class AreaEntity : BaseEntity
{
/// <summary>
/// 父级
/// </summary>
[MaxLength(50)]
public long ParentId { get; set; }
/// <summary>
/// 层次
/// </summary>
public int? Layers { get; set; }
/// <summary>
/// 编码
/// </summary>
[MaxLength(50)]
public string EnCode { get; set; }
/// <summary>
/// 名称
/// </summary>
[MaxLength(100)]
public string FullName { get; set; }
/// <summary>
/// 简拼
/// </summary>
[MaxLength(200)]
public string SimpleSpelling { get; set; }
/// <summary>
/// 父级路径
/// </summary>
[MaxLength(600)]
public string FullIdPath { get; set; }
/// <summary>
/// 是否是最后一级
/// </summary>
public bool IsLast { get; set; }
/// <summary>
/// 排序码
/// </summary>
public int SortCode { get; set; }
/// <summary>
/// 有效标志
/// </summary>
public bool IsEnabled { get; set; }
public string Description { get; set; }
}
}