This commit is contained in:
2024-12-18 15:50:21 +08:00
parent 684973e6b7
commit b2c54119ea
214 changed files with 65908 additions and 8461 deletions

View 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; }
}
}