using System.Collections.Generic; using SqlSugar; namespace WmsLite.Api.Models; [SugarTable("area")] public class Area : BaseEntity { /// 所属仓库编码。 [SugarColumn(ColumnName = "warehouse_code", Length = 64, IsNullable = false)] public string WarehouseCode { get; set; } = string.Empty; [SugarColumn(ColumnName = "code", Length = 64, IsNullable = false)] public string Code { get; set; } = string.Empty; [SugarColumn(ColumnName = "name", Length = 256, IsNullable = false)] public string Name { get; set; } = string.Empty; [SugarColumn(ColumnName = "attrs", IsJson = true, ColumnDataType = "jsonb", IsNullable = true)] public Dictionary? Attrs { get; set; } }