| | | 1 | | using System.ComponentModel.DataAnnotations; |
| | | 2 | | using System.ComponentModel.DataAnnotations.Schema; |
| | | 3 | | using Microsoft.EntityFrameworkCore.Metadata.Internal; |
| | | 4 | | |
| | | 5 | | [Table("b_iblock_element_property")] |
| | | 6 | | public class BIblockElementProperty |
| | | 7 | | { |
| | | 8 | | [Key] |
| | | 9 | | [Column("ID")] |
| | 0 | 10 | | public long Id { get; set; } |
| | | 11 | | |
| | | 12 | | [Column("IBLOCK_PROPERTY_ID")] |
| | 0 | 13 | | public int IblockPropertyId { get; set; } |
| | | 14 | | |
| | | 15 | | [Column("IBLOCK_ELEMENT_ID")] |
| | 0 | 16 | | public int IblockElementId { get; set; } |
| | | 17 | | |
| | | 18 | | [Column("VALUE", TypeName = "mediumtext")] |
| | 0 | 19 | | public string Value { get; set; } = string.Empty; |
| | | 20 | | |
| | | 21 | | [Column("VALUE_TYPE")] |
| | | 22 | | [StringLength(4)] |
| | 0 | 23 | | public string ValueType { get; set; } = "text"; |
| | | 24 | | |
| | | 25 | | [Column("VALUE_ENUM")] |
| | 0 | 26 | | public int? ValueEnum { get; set; } |
| | | 27 | | |
| | | 28 | | [Column("VALUE_NUM", TypeName = "decimal(18,4)")] |
| | 0 | 29 | | public decimal? ValueNum { get; set; } |
| | | 30 | | |
| | | 31 | | [Column("DESCRIPTION")] |
| | | 32 | | [StringLength(255)] |
| | 0 | 33 | | public string? Description { get; set; } |
| | | 34 | | } |