You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.1 KiB
C#
30 lines
1.1 KiB
C#
using NPin.Framework.SqlSugarCore.Abstractions.Data;
|
|
using SqlSugar;
|
|
using Volo.Abp.Auditing;
|
|
using Volo.Abp.Domain.Entities;
|
|
|
|
namespace NPin.Framework.Upms.Domain.Entities;
|
|
|
|
[SugarTable("SysPost", "岗位表")]
|
|
public class PostEntity : Entity<Guid>, ISoftDelete, IAuditedObject, IOrderNum, IEnabled
|
|
{
|
|
[SugarColumn(IsPrimaryKey = true, ColumnDescription = "主键")]
|
|
public override Guid Id { get; protected set; }
|
|
|
|
[SugarColumn(ColumnDescription = "岗位编码")]
|
|
public string Code { get; set; } = string.Empty;
|
|
|
|
[SugarColumn(ColumnDescription = "岗位名称")]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
[SugarColumn(ColumnDescription = "岗位描述")]
|
|
public string? Remark { get; set; }
|
|
|
|
public bool IsDeleted { get; set;}
|
|
public DateTime CreationTime { get; set;} = DateTime.Now;
|
|
public Guid? CreatorId { get; set;}
|
|
public DateTime? LastModificationTime { get; set;}
|
|
public Guid? LastModifierId { get; set;}
|
|
public int OrderNum { get; set; }
|
|
public bool IsEnabled { get; set; }
|
|
} |