schangxiang@126.com
2024-08-28 39c09dede499f7ba23bcd26b17b2199a31bddccc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
 
namespace iWare.Wms.Core
{
    /// <summary>
    /// 系统操作/审计日志表
    /// </summary>
    [Table("sys_log_audit")]
    [Comment("审计日志表")]
    public class SysLogAudit : EntityBase
    {
        /// <summary>
        /// 表名
        /// </summary>
        [Comment("表名")]
        [MaxLength(50)]
        public string TableName { get; set; }
 
        /// <summary>
        /// 列名
        /// </summary>
        [Comment("列名")]
        [MaxLength(50)]
        public string ColumnName { get; set; }
 
        /// <summary>
        /// 新值
        /// </summary>
        [Comment("新值")]
        public string NewValue { get; set; }
 
        /// <summary>
        /// 旧值
        /// </summary>
        [Comment("旧值")]
        public string OldValue { get; set; }
 
        /// <summary>
        /// 操作时间
        /// </summary>
        [Comment("操作时间")]
        public DateTimeOffset? CreatedTime { get; set; }
 
        /// <summary>
        /// 操作人Id
        /// </summary>
        [Comment("操作人Id")]
        public long UserId { get; set; }
 
        /// <summary>
        /// 操作人名称
        /// </summary>
        [Comment("操作人名称")]
        [MaxLength(50)]
        public string UserName { get; set; }
 
        /// <summary>
        /// 操作方式:新增、更新、删除
        /// </summary>
        [Comment("操作方式")]
        public DataOpType Operate { get; set; }
    }
}