kazelee
2025-05-19 b079910e5de15863c26e479ffab15cc45d706f1a
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
using System;
 
using SqlSugar;
 
namespace HH.WCS.Mobox3.DSZSH.Models {
    /// <summary>
    /// 【框架】模板抽象类:基本表数据模型
    /// </summary>
    public abstract class BaseModel {
 
        /// <summary>
        /// 唯一识别码(底层主键)
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string S_ID { get; set; } = Guid.NewGuid().ToString("D");
 
        /// <summary>
        /// 创建人 ID
        /// </summary>
        public string S_CREATOR_ID { get; set; } = "sa";
 
        /// <summary>
        /// 创建人名称
        /// </summary>
        public string S_CREATOR_NAME { get; set; } = "超级用户";
 
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime T_CREATE { get; set; } = DateTime.Now;
 
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime T_MODIFY { get; set; } = DateTime.Now;
 
        /// <summary>
        /// 数据状态:编辑、定版
        /// </summary>
        public string S_STATE { get; set; } = "编辑";
    }
}