All checks were successful
continuous-integration/drone/push Build is passing
- Add marker pole CRUD functionality with database tables (odf_marker_poles, odf_marker_pole_images) - Implement marker pole API endpoints and service layer with data isolation by department - Add UniApp pages for marker pole list, detail, and creation workflows - Add Vue management backend pages for marker pole and audit log management - Implement audit logging system via ActionFilter to track all business entity modifications - Extend search API to include marker poles in results alongside cables and faults - Add OdfAuditLogsController and service for querying audit trail data - Update optical box detail page with left-right frame color scheme (green-orange) - Add cable type page as entry point for marker poles and fault lists - Create database migration scripts for v1.2.0 schema and permissions - Add DeptDataScopeHelper for department-based data access control - Update MCP settings to disable SQL Server connection and fix formatting - Add marker pole service integration in UniApp with COS image upload support
76 lines
1.7 KiB
C#
76 lines
1.7 KiB
C#
namespace ZR.Model.Business
|
|
{
|
|
/// <summary>
|
|
/// 标石/杆号牌
|
|
/// </summary>
|
|
[SugarTable("odf_marker_poles")]
|
|
public class OdfMarkerPoles
|
|
{
|
|
/// <summary>
|
|
/// Id
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 关联光缆ID
|
|
/// </summary>
|
|
public int CableId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 标石/杆号牌名称
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 记录时间(拍照时间)
|
|
/// </summary>
|
|
public DateTime RecordTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 责任人
|
|
/// </summary>
|
|
public string? Personnel { get; set; }
|
|
|
|
/// <summary>
|
|
/// 纬度
|
|
/// </summary>
|
|
public decimal Latitude { get; set; }
|
|
|
|
/// <summary>
|
|
/// 经度
|
|
/// </summary>
|
|
public decimal Longitude { get; set; }
|
|
|
|
/// <summary>
|
|
/// 实际里程
|
|
/// </summary>
|
|
public string? ActualMileage { get; set; }
|
|
|
|
/// <summary>
|
|
/// 所属公司/部门ID
|
|
/// </summary>
|
|
public long DeptId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 部门名称(冗余)
|
|
/// </summary>
|
|
public string? DeptName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 提交人用户ID
|
|
/// </summary>
|
|
public long? UserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
public DateTime? CreatedAt { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
public DateTime? UpdatedAt { get; set; }
|
|
}
|
|
}
|