using MiniExcelLibs.Attributes;
namespace ZR.Model.Business.Dto
{
///
/// 签到记录输入对象
///
public class OdfCheckinDto
{
public int RoomId { get; set; }
public string Personnel { get; set; }
public string CheckinTime { get; set; }
public string WorkContent { get; set; }
public long? UserId { get; set; }
}
///
/// 签到记录列表/导出对象
///
public class OdfCheckinListDto
{
[ExcelColumn(Name = "Id")]
public int Id { get; set; }
[ExcelColumn(Name = "机房ID")]
public int RoomId { get; set; }
///
/// 机房名称(联查 odf_rooms)
///
[ExcelColumn(Name = "机房名称")]
public string RoomName { get; set; }
[ExcelColumn(Name = "人员")]
public string Personnel { get; set; }
[ExcelColumn(Name = "签到时间", Format = "yyyy-MM-dd HH:mm:ss", Width = 20)]
public DateTime CheckinTime { get; set; }
[ExcelColumn(Name = "工作内容")]
public string WorkContent { get; set; }
public long? UserId { get; set; }
///
/// 提交人用户名(联查 sys_user.NickName)
///
[ExcelColumn(Name = "提交人")]
public string UserName { get; set; }
[ExcelColumn(Name = "创建时间", Format = "yyyy-MM-dd HH:mm:ss", Width = 20)]
public DateTime? CreatedAt { get; set; }
}
///
/// 签到记录查询对象
///
public class OdfCheckinQueryDto : PagerInfo
{
public int? RoomId { get; set; }
public string Personnel { get; set; }
///
/// 签到时间范围 - 开始
///
public DateTime? BeginCheckinTime { get; set; }
///
/// 签到时间范围 - 结束
///
public DateTime? EndCheckinTime { get; set; }
}
}