using SqlSugar; using System; using System.Collections.Generic; using System.Text; namespace Appointment.Entity { /// /// 操作展示日志 /// [Serializable] [SugarTable("appt_remark_log")] public class ApptRemarkLog { /// /// 递增主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 操作时间 /// public DateTime CreateTime { get; set; } /// /// 所属父级 /// /// /// 0-默认, /// 其他-对操作备注进行追加备注 /// public int Pid { get; set; } /// /// 预订单主键 /// /// /// appt_summary.id /// [SugarColumn(ColumnName = "appt_id")] public int ApptId { get; set; } /// /// 操作人账号 /// public string Account { get; set; } /// /// 操作人姓名 /// public string UserName { get; set; } /// /// 提交前状态 /// [SugarColumn(ColumnName = "old_status")] public int OldStatus { get; set; } /// /// 提交后状态 /// [SugarColumn(ColumnName = "new_status")] public int NewStatus { get; set; } /// /// 备注内容 /// public string Remark { get; set; } /// /// 变更的数据 /// [SugarColumn(ColumnName = "update_data")] public string UpdateData { get; set; } } }