using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;
namespace Ewide.Core
{
///
/// 代码生成字段配置表
///
[Table("sys_code_gen_config")]
[Comment("代码生成字段配置表")]
public class SysCodeGenConfig : DEntityBase
{
///
/// 代码生成主表ID
///
[Comment("代码生成主表ID")]
[Column("CodeGenId", TypeName = "varchar(36)")]
public string CodeGenId { get; set; }
///
/// 数据库字段名
///
[Comment("数据库字段名")]
public string ColumnName { get; set; }
///
/// 字段描述
///
[Comment("字段描述")]
public string ColumnComment { get; set; }
///
/// .NET数据类型
///
[Comment(".NET数据类型")]
public string NetType { get; set; }
///
/// 作用类型(字典)
///
[Comment("作用类型")]
public string EffectType { get; set; }
///
/// 字典code
///
[Comment("字典Code")]
public string DictTypeCode { get; set; }
///
/// 列表是否缩进(字典)
///
[Comment("列表是否缩进")]
public string WhetherRetract { get; set; }
///
/// 是否必填(字典)
///
[Comment("是否必填")]
public string WhetherRequired { get; set; }
///
/// 是否是查询条件
///
[Comment("是否是查询条件")]
public string QueryWhether { get; set; }
///
/// 查询方式
///
[Comment("查询方式")]
public string QueryType { get; set; }
///
/// 列表显示
///
[Comment("列表显示")]
public string WhetherTable { get; set; }
///
/// 增改
///
[Comment("增改")]
public string WhetherAddUpdate { get; set; }
///
/// 主外键
///
[Comment("主外键")]
public string ColumnKey { get; set; }
///
/// 数据库中类型(物理类型)
///
[Comment("数据库中类型")]
public string DataType { get; set; }
///
/// 是否通用字段
///
[Comment("是否通用字段")]
public string WhetherCommon { get; set; }
}
}