using System; using System.Collections.Generic; using System.Security.Cryptography; using System.Text; namespace ReZero.SuperAPI { /// /// 属性和列 /// public class TemplatePropertyGen { /// /// 属性名 /// public string? PropertyName { get; set; } /// /// 列名 /// public string? DbColumnName { get; set; } /// /// 属性类型 /// public string? PropertyType { get; set; } /// /// 数据库类型 /// public string? DbType { get; set; } /// /// 主键 /// public bool IsPrimaryKey { get; set; } /// /// 自增列 /// public bool IsIdentity { get; set; } /// /// 备注 /// public string? Description { get; set; } /// /// 是否是为NULL /// public bool IsNullable { get; set; } /// /// Mapping精度 /// public int? DecimalDigits { get; set; } /// /// 是否忽略 /// public bool IsIgnore { get; set; } /// /// 特殊类型 /// public int SpecialType { get; set; } /// /// 默认值 /// public string? DefaultValue { get; set; } /// /// 长度 /// public int Length { get; set; } /// /// 是否是Json类型 /// public bool IsJson { get; set; } } }