43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
using FreeSql.DataAnnotations;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CapMachine.Model.ModelMapConfig
|
|
{
|
|
/// <summary>
|
|
/// ModelMap
|
|
/// 模型的匹配
|
|
/// </summary>
|
|
[Table(Name = "ModelMap")]
|
|
public class ModelMap
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
[Column(IsPrimary = true, IsIdentity = true)]
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 名称
|
|
/// </summary>
|
|
[Column(Name = "Name", IsNullable = true, StringLength = 50)]
|
|
public string? Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 内容
|
|
/// </summary>
|
|
[Column(Name = "Comment", IsNullable = true, StringLength = 50)]
|
|
public string? Comment { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
|
|
/// </summary>
|
|
|
|
public List<Columns>? Columns { get; set; }
|
|
}
|
|
}
|