调整 .gitignore 以适配 backends 目录结构
将 MiGu.Server 相关忽略规则迁移至 backends/MiGu.Server,并新增对 .tmp-build* 和 /.cursor/rules 的忽略,优化敏感数据与临时文件的管理。
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
namespace MiGu.Server.Configs;
|
||||
|
||||
public record Location(string Id, string Code, string Name, string SiteId, int Capacity, int Occupied);
|
||||
public record InventoryRule(string Id, string ItemType, int MinQty, int MaxQty);
|
||||
|
||||
public record LocationManagement(
|
||||
List<Location> Locations,
|
||||
List<InventoryRule> InventoryRules)
|
||||
{
|
||||
public static LocationManagement Default() => new(
|
||||
Locations: new List<Location>
|
||||
{
|
||||
new("L01", "A-01", "A 区货架 1", "S001", 20, 12),
|
||||
new("L02", "A-02", "A 区货架 2", "S002", 20, 7),
|
||||
new("L03", "B-01", "B 区缓存", "S003", 30, 25)
|
||||
},
|
||||
InventoryRules: new List<InventoryRule>
|
||||
{
|
||||
new("IR1", "PalletA", 5, 30)
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user