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