新框架PC后端代码(祈禧6月初版本)
南骏 池
3 天以前 72449a1b8699b65712e57fba8abce5a8240e9465
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
using SqlSugar;
 
namespace Gs.BaseInfo.Models;
 
/// <summary>
///     打印机与用户对照表
/// </summary>
[SugarTable("print_user")]
public class PrintUser
{
    /// <summary>
    ///     主键
    ///     默认值: (newid())
    /// </summary>
    [SugarColumn(ColumnName = "guid", IsPrimaryKey = true)]
    public Guid Guid { get; set; }
 
    /// <summary>
    ///     用户id
    /// </summary>
    [SugarColumn(ColumnName = "user_id")]
    public Guid? UserId { get; set; }
 
    /// <summary>
    ///     打印机id
    /// </summary>
    [SugarColumn(ColumnName = "print_id")]
    public Guid? PrintId { get; set; }
 
    /// <summary>
    ///     备注1
    /// </summary>
    [SugarColumn(ColumnName = "remark1")]
    public string? Remark1 { get; set; }
 
    /// <summary>
    ///     备注2
    /// </summary>
    [SugarColumn(ColumnName = "remark2")]
    public string? Remark2 { get; set; }
 
    /// <summary>
    ///     是否系统参数
    ///     默认值: ((0))
    /// </summary>
    [SugarColumn(ColumnName = "sys_param")]
    public bool? SysParam { get; set; }
 
    /// <summary>
    ///     是否启用
    ///     默认值: ((0))
    /// </summary>
    [SugarColumn(ColumnName = "is_status")]
    public bool? IsStatus { get; set; }
 
    [SugarColumn(IsIgnore = true)] public string? userName { get; set; }
 
    [SugarColumn(IsIgnore = true)] public string? printNo { get; set; }
 
    [SugarColumn(IsIgnore = true)] public string? Account { get; set; }
}