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>
This commit is contained in:
commit
fa1b286463
241 files changed
+31188
No files matched your search
@@ -0,0 +1,24 @@
|
||||
using System.Collections.Generic;
|
||||
using SqlSugar;
|
||||
using WmsLite.Api.Enums;
|
||||
|
||||
namespace WmsLite.Api.Models;
|
||||
|
||||
[SugarTable("transfer_order")]
|
||||
public class TransferOrder : BaseEntity
|
||||
{
|
||||
[SugarColumn(ColumnName = "order_no", Length = 128, IsNullable = false)]
|
||||
public string OrderNo { get; set; } = string.Empty;
|
||||
|
||||
[SugarColumn(ColumnName = "biz_type", Length = 64, IsNullable = true)]
|
||||
public string? BizType { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "order_status", IsNullable = false)]
|
||||
public OrderStatus OrderStatus { get; set; } = OrderStatus.Draft;
|
||||
|
||||
[SugarColumn(ColumnName = "remark", Length = 512, IsNullable = true)]
|
||||
public string? Remark { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "attrs", IsJson = true, ColumnDataType = "jsonb", IsNullable = true)]
|
||||
public Dictionary<string, object>? Attrs { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user