odf_new/server/ZR.Model/Business/Dto/OdfCableFaultsDto.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

53 lines
1.2 KiB
C#

using Microsoft.AspNetCore.Http;
namespace ZR.Model.Business.Dto
{
/// <summary>
/// 干线故障查询对象
/// </summary>
public class OdfCableFaultsQueryDto : PagerInfo
{
public int? CableId { get; set; }
/// <summary>
/// 故障时间范围 - 开始
/// </summary>
public DateTime? BeginFaultTime { get; set; }
/// <summary>
/// 故障时间范围 - 结束
/// </summary>
public DateTime? EndFaultTime { get; set; }
public string FaultReason { get; set; }
}
/// <summary>
/// 新增故障输入对象(含图片上传)
/// </summary>
public class OdfCableFaultAddDto
{
public int CableId { get; set; }
public string FaultTime { get; set; }
public string Personnel { get; set; }
public string FaultReason { get; set; }
public string Mileage { get; set; }
public string Location { get; set; }
public decimal Latitude { get; set; }
public decimal Longitude { get; set; }
public string Remark { get; set; }
public long? UserId { get; set; }
public IFormFile[] Images { get; set; }
}
}