WMSlite/WmsLite.Api/Models/SysDictItem.cs
zhougf fa1b286463 Add WmsLite monorepo with JWT auth, tenant context, and project READMEs.
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>
2026-05-24 14:17:47 +08:00

23 lines
729 B
C#

using SqlSugar;
namespace WmsLite.Api.Models;
[SugarTable("sys_dict_item")]
public class SysDictItem : BaseEntity
{
[SugarColumn(ColumnName = "category", Length = 128, IsNullable = false)]
public string Category { get; set; } = string.Empty;
[SugarColumn(ColumnName = "code", Length = 128, IsNullable = false)]
public string Code { get; set; } = string.Empty;
[SugarColumn(ColumnName = "label", Length = 512, IsNullable = false)]
public string Label { get; set; } = string.Empty;
[SugarColumn(ColumnName = "sort_order", IsNullable = false)]
public int SortOrder { get; set; }
[SugarColumn(ColumnName = "is_enabled", IsNullable = false)]
public bool IsEnabled { get; set; } = true;
}