| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- namespace Admin.NET.Plugin.AiDOP.Entity.S8;
- [SugarTable("ado_s8_dimension_node", "S8 业务维度节点")]
- public class AdoS8DimensionNode
- {
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
- public long Id { get; set; }
- [SugarColumn(ColumnName = "tenant_id", ColumnDataType = "bigint")]
- public long TenantId { get; set; }
- [SugarColumn(ColumnName = "factory_id", ColumnDataType = "bigint")]
- public long FactoryId { get; set; }
- [SugarColumn(ColumnName = "dimension_code", Length = 32)]
- public string DimensionCode { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "node_code", Length = 64)]
- public string NodeCode { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "node_name", Length = 128)]
- public string NodeName { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "parent_id", IsNullable = true, ColumnDataType = "bigint")]
- public long? ParentId { get; set; }
- [SugarColumn(ColumnName = "level")]
- public int Level { get; set; } = 1;
- [SugarColumn(ColumnName = "path", Length = 512)]
- public string Path { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "is_selectable", ColumnDataType = "boolean")]
- public bool IsSelectable { get; set; } = true;
- [SugarColumn(ColumnName = "enabled", ColumnDataType = "boolean")]
- public bool Enabled { get; set; } = true;
- [SugarColumn(ColumnName = "sort_no")]
- public int SortNo { get; set; }
- [SugarColumn(ColumnName = "remark", Length = 512, IsNullable = true)]
- public string? Remark { get; set; }
- [SugarColumn(ColumnName = "created_at")]
- public DateTime CreatedAt { get; set; } = DateTime.Now;
- [SugarColumn(ColumnName = "updated_at", IsNullable = true)]
- public DateTime? UpdatedAt { get; set; }
- }
|