EquipmentPart.cs
1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace HHECS.Model.Entities
{
/// <summary>
/// 设备部件表
/// </summary>
public class EquipmentPart : BaseEntityCU<int>
{
/// <summary>
/// 设备ID
/// </summary>
[Column(Order = 2)]
public int EquipmentId { get; set; }
/// <summary>
/// 设备部件外键
/// </summary>
[Column(Order = 3)]
public int EquipmentTypePartId { get; set; }
/// <summary>
/// 获取设备部件(列如齿轮)的圈数以及次数
/// </summary>
[Column(Order = 4)]
public int? Indicator { get; set; }
/// <summary>
/// 备注
/// </summary>
[MaxLength(200)]
[Column(Order = 5)]
public string Remark { get; set; }
/// <summary>
/// 逻辑外键--设备实体
/// </summary>
public Equipment Equipment { get; set; }
}
}