24 lines
748 B
C#
24 lines
748 B
C#
using ZR.Model.System;
|
|
|
|
namespace ZR.ServiceCore.Model
|
|
{
|
|
[SugarTable("sys_post", "岗位表")]
|
|
[Tenant("0")]
|
|
public class SysPost : SysBase
|
|
{
|
|
/// <summary>
|
|
/// 岗位Id
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
public long PostId { get; set; }
|
|
[SugarColumn(ExtendedAttribute = ProteryConstant.NOTNULL)]
|
|
public string PostCode { get; set; }
|
|
[SugarColumn(ExtendedAttribute = ProteryConstant.NOTNULL)]
|
|
public string PostName { get; set; }
|
|
[SugarColumn(ExtendedAttribute = ProteryConstant.NOTNULL)]
|
|
public int PostSort { get; set; }
|
|
[SugarColumn(Length = 1)]
|
|
public string Status { get; set; }
|
|
}
|
|
}
|