using SqlSugar;
namespace Gs.BaseInfo.Models;
///
/// 打印机与用户对照表
///
[SugarTable("print_user")]
public class PrintUser
{
///
/// 主键
/// 默认值: (newid())
///
[SugarColumn(ColumnName = "guid", IsPrimaryKey = true)]
public Guid Guid { get; set; }
///
/// 用户id
///
[SugarColumn(ColumnName = "user_id")]
public Guid? UserId { get; set; }
///
/// 打印机id
///
[SugarColumn(ColumnName = "print_id")]
public Guid? PrintId { get; set; }
///
/// 备注1
///
[SugarColumn(ColumnName = "remark1")]
public string? Remark1 { get; set; }
///
/// 备注2
///
[SugarColumn(ColumnName = "remark2")]
public string? Remark2 { get; set; }
///
/// 是否系统参数
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "sys_param")]
public bool? SysParam { get; set; }
///
/// 是否启用
/// 默认值: ((0))
///
[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; }
}