系统二维码

This commit is contained in:
2023-07-19 17:57:53 +08:00
parent 48208de173
commit 630a8b76d0
4 changed files with 292 additions and 4 deletions

View File

@@ -0,0 +1,47 @@
using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.BasicData.Entities;
/// <summary>
/// 系统二维码表
/// </summary>
[SugarTable("bas_qrcode")]
public partial class BasQrcode : BaseEntity<string>
{
public BasQrcode()
{
id = SnowflakeIdHelper.NextId();
}
/// <summary>
/// 编码
/// </summary>
public string code { get; set; } = string.Empty;
/// <summary>
/// 关联表id
/// </summary>
public string? source_id { get; set; }
/// <summary>
/// 关联表名
/// </summary>
public string? source_name { get; set; }
/// <summary>
/// 创建用户
/// </summary>
public string? create_id { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime? create_time { get; set; }
/// <summary>
/// 所属组织
/// </summary>
public string? org_id { get; set; }
}