V1版本
This commit is contained in:
56
CapMachine.Model/CANLIN/CanLinConfigPro.cs
Normal file
56
CapMachine.Model/CANLIN/CanLinConfigPro.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Model.CANLIN
|
||||
{
|
||||
/// <summary>
|
||||
/// CAN和LIN的配置信息数据
|
||||
/// </summary>
|
||||
[Table(Name = "CanLinConfigPro")]
|
||||
public class CanLinConfigPro
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[Column(IsPrimary = true, IsIdentity = true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置名称
|
||||
/// </summary>
|
||||
[Column(Name = "ConfigName", IsNullable = false, StringLength = 100)]
|
||||
public string? ConfigName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分类信息-CAN/LIN
|
||||
/// </summary>
|
||||
[Column(Name = "CANLINInfo", IsNullable = false, MapType = typeof(string))]
|
||||
public CANLIN CANLINInfo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Column(ServerTime = DateTimeKind.Local, CanUpdate = true)]
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
|
||||
/// </summary>
|
||||
|
||||
public List<CanLinRWConfig>? CanLinConfigContents { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ///////////////////////////////////////////导航属性 一对一///////////////////////////////////////////////////////
|
||||
/// </summary>
|
||||
|
||||
public long CANConfigExdId { get; set; } // 外键字段,必要
|
||||
public CANConfigExd CANConfigExd { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user