Implement API security baseline (sys_user, JWT, audit fields, transactions, unique constraints) and Web real login with 401 handling. Document setup and development workflows in root, WmsLite.Api, and WmsLite.Web README files. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
536 B
C#
17 lines
536 B
C#
using SqlSugar;
|
|
|
|
namespace WmsLite.Api.Models;
|
|
|
|
[SugarTable("sys_template")]
|
|
public class SysTemplate : BaseEntity
|
|
{
|
|
[SugarColumn(ColumnName = "biz_type", Length = 64, IsNullable = false)]
|
|
public string BizType { get; set; } = string.Empty;
|
|
|
|
[SugarColumn(ColumnName = "biz_name", Length = 128, IsNullable = false)]
|
|
public string BizName { get; set; } = string.Empty;
|
|
|
|
[SugarColumn(ColumnName = "config_json", IsJson = true, ColumnDataType = "jsonb", IsNullable = true)]
|
|
public string? ConfigJson { get; set; }
|
|
}
|