odf_new/server/ZR.Model/Business/Dto/OdfCheckinDto.cs
zpc 7c4d7d5978 feat: ODF v1.0.2 功能更新 - 签到、干线故障、光缆管理、用户模块权限
数据库:
- 新增 odf_checkin/odf_cables/odf_cable_faults/odf_cable_fault_images/odf_user_modules 5张表
- 新增菜单权限和角色分配 SQL 脚本

后台 API (.NET/SqlSugar):
- 新增实体模型、DTO、Service、Controller (签到/光缆/故障/图片/用户模块)

前端 APP (UniApp):
- 新增 portal/checkin/trunk/cable/fault-list/fault-detail/fault-add/trunk-search/route-plan 9个页面
- 新增 permission/checkin/trunk 服务层
- 新增 navigation/watermark 工具函数

后台管理前端 (ZR.Vue):
- 新增光缆管理/干线故障管理/签到记录管理/用户模块权限 4个管理页面
- 新增对应 API 模块和表单组件
2026-03-04 14:08:48 +08:00

79 lines
2.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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