using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapMachine.Model.CANLIN
{
///
/// CAN和LIN的配置信息数据
///
[Table(Name = "CanLinConfigPro")]
public class CanLinConfigPro
{
///
/// 主键
///
[Column(IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
///
/// 配置名称
///
[Column(Name = "ConfigName", IsNullable = false, StringLength = 100)]
public string? ConfigName { get; set; }
///
/// 分类信息-CAN/LIN
///
[Column(Name = "CANLINInfo", IsNullable = false, MapType = typeof(string))]
public CANLIN CANLINInfo { get; set; }
///
/// 创建时间
///
[Column(ServerTime = DateTimeKind.Local, CanUpdate = true)]
public DateTime CreateTime { get; set; }
///
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
///
public List? CanLinConfigContents { get; set; }
///
/// ///////////////////////////////////////////导航属性 一对一///////////////////////////////////////////////////////
///
public long CANConfigExdId { get; set; } // 外键字段,必要
public CANConfigExd CANConfigExd { get; set; }
}
}