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
73 lines
1.8 KiB
C#
73 lines
1.8 KiB
C#
namespace ZR.Model.Business
|
|
{
|
|
/// <summary>
|
|
/// 审计日志
|
|
/// </summary>
|
|
[SugarTable("odf_audit_logs")]
|
|
public class OdfAuditLogs
|
|
{
|
|
/// <summary>
|
|
/// Id
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作的表名
|
|
/// </summary>
|
|
public string TableName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作的记录ID
|
|
/// </summary>
|
|
public int? RecordId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作类型: INSERT/UPDATE/DELETE
|
|
/// </summary>
|
|
public string OperationType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作人用户ID
|
|
/// </summary>
|
|
public long OperatorId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作人用户名
|
|
/// </summary>
|
|
public string? OperatorName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作来源: App/Admin
|
|
/// </summary>
|
|
public string SourceClient { get; set; }
|
|
|
|
/// <summary>
|
|
/// 修改前数据 (JSON)
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "nvarchar(max)")]
|
|
public string? OldData { get; set; }
|
|
|
|
/// <summary>
|
|
/// 修改后数据 (JSON)
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "nvarchar(max)")]
|
|
public string? NewData { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作时间
|
|
/// </summary>
|
|
public DateTime? OperationTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作人所属部门
|
|
/// </summary>
|
|
public long? DeptId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
public string? Remark { get; set; }
|
|
}
|
|
}
|