|
|
@@ -7,7 +7,7 @@ namespace Admin.NET.Plugin.AiDOP.Entity.S0.Warehouse;
|
|
|
[SugarIndex("uk_LocationMaster_domain_location", nameof(DomainCode), OrderByType.Asc, nameof(Location), OrderByType.Asc, IsUnique = true)]
|
|
|
public class AdoS0LocationMaster : ITenantIdFilter
|
|
|
{
|
|
|
- [SugarColumn(ColumnName = "rec_id", ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
|
+ [SugarColumn(ColumnName = "RecID", ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
[SugarColumn(ColumnName = "company_ref_id", ColumnDescription = "关联公司 ID", ColumnDataType = "bigint")]
|
|
|
@@ -16,7 +16,7 @@ public class AdoS0LocationMaster : ITenantIdFilter
|
|
|
[SugarColumn(ColumnName = "factory_ref_id", ColumnDescription = "关联工厂 ID", ColumnDataType = "bigint")]
|
|
|
public long FactoryRefId { get; set; }
|
|
|
|
|
|
- [SugarColumn(ColumnName = "domain_code", ColumnDescription = "工厂域编码", Length = 50)]
|
|
|
+ [SugarColumn(ColumnName = "Domain", ColumnDescription = "工厂域编码", Length = 50)]
|
|
|
public string DomainCode { get; set; } = string.Empty;
|
|
|
|
|
|
[SugarColumn(ColumnName = "location", ColumnDescription = "库位编码", Length = 100)]
|
|
|
@@ -31,22 +31,22 @@ public class AdoS0LocationMaster : ITenantIdFilter
|
|
|
[SugarColumn(ColumnName = "typed", ColumnDescription = "库位类型", Length = 50, IsNullable = true)]
|
|
|
public string? Typed { get; set; }
|
|
|
|
|
|
- [SugarColumn(ColumnName = "physical_address", ColumnDescription = "物理地址", Length = 500, IsNullable = true)]
|
|
|
+ [SugarColumn(ColumnName = "PhysicalAddress", ColumnDescription = "物理地址", Length = 500, IsNullable = true)]
|
|
|
public string? PhysicalAddress { get; set; }
|
|
|
|
|
|
- [SugarColumn(ColumnName = "is_active", ColumnDescription = "是否启用", ColumnDataType = "boolean")]
|
|
|
+ [SugarColumn(ColumnName = "IsActive", ColumnDescription = "是否启用", ColumnDataType = "boolean")]
|
|
|
public bool IsActive { get; set; } = true;
|
|
|
|
|
|
- [SugarColumn(ColumnName = "create_user", ColumnDescription = "创建人", Length = 100, IsNullable = true)]
|
|
|
+ [SugarColumn(ColumnName = "CreateUser", ColumnDescription = "创建人", Length = 100, IsNullable = true)]
|
|
|
public string? CreateUser { get; set; }
|
|
|
|
|
|
- [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间")]
|
|
|
+ [SugarColumn(ColumnName = "CreateTime", ColumnDescription = "创建时间")]
|
|
|
public DateTime CreateTime { get; set; } = DateTime.Now;
|
|
|
|
|
|
- [SugarColumn(ColumnName = "update_user", ColumnDescription = "更新人", Length = 100, IsNullable = true)]
|
|
|
+ [SugarColumn(ColumnName = "UpdateUser", ColumnDescription = "更新人", Length = 100, IsNullable = true)]
|
|
|
public string? UpdateUser { get; set; }
|
|
|
|
|
|
- [SugarColumn(ColumnName = "update_time", ColumnDescription = "更新时间", IsNullable = true)]
|
|
|
+ [SugarColumn(ColumnName = "UpdateTime", ColumnDescription = "更新时间", IsNullable = true)]
|
|
|
public DateTime? UpdateTime { get; set; }
|
|
|
|
|
|
[SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
|