using Dlhis.Entity.Basic.Enums;
using Kurisu.AspNetCore.Utils.Extensions;
namespace Dlhis.Basic.WorkGrids.Response;
public class WorkGridGainfoPageResponse
{
public long Id { get; set; }
public string No { get; set; }
///
/// 人员类型
///
public GainfoUserTypeEnumType? Type { get; set; }
///
/// 姓名
///
public string Name { get; set; }
///
/// 工号
///
public string Code { get; set; }
///
/// 性别
///
public GenderEnumType Gender { get; set; }
public string GenderDesc => Gender.GetDescription();
///
/// 部门编码
///
public string DepartmentNo { get; set; }
///
/// 部门名称
///
public string DepartmentName { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 有工作网格
///
public bool HasWorkGrid => WorkGridName.IsPresent();
///
/// 网格名称
///
public string WorkGridName { get; set; }
///
/// 最大连续排班信息
///
public WorkGridScheduleMaximumConsecutiveDto MaximumConsecutiveSchedules { get; set; }
}