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.

34 lines
771 B

using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace GDZZ.Core.Entity;
/// <summary>
/// 员工表
/// </summary>
[SugarTable("sys_emp")]
[Description("员工表")]
public class SysEmp : PrimaryKeyEntity
{
/// <summary>
/// 工号
/// </summary>
[MaxLength(30)]
[SugarColumn(ColumnDescription = "工号", IsNullable = true)]
public string JobNum { get; set; }
/// <summary>
/// 机构Id
/// </summary>
[SugarColumn(ColumnDescription = "机构Id")]
public long OrgId { get; set; }
/// <summary>
/// 机构名称
/// </summary>
[MaxLength(50)]
[SugarColumn(ColumnDescription = "机构名称", IsNullable = true)]
public string OrgName { get; set; }
}