namespace SimpleAdmin.Application; /// /// 员工人事信息变更记录,保留转正及后续扩展业务的前后快照。 /// [SugarTable("ob_employee_change_record", TableDescription = "员工人事信息变更记录")] [Tenant(SqlSugarConst.DB_DEFAULT)] public class ObEmployeeChangeRecord : BaseEntity { public long EmployeeId { get; set; } public string ChangeType { get; set; } [SugarColumn(IsNullable = true)] public DateTime? EffectiveDate { get; set; } [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] public string BeforeJson { get; set; } [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] public string AfterJson { get; set; } public string Remark { get; set; } [SugarColumn(IsIgnore = true)] public List Attachments { get; set; } = new(); }