You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.0 KiB

3 weeks ago
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
namespace ReZero.SuperAPI
{
public class ZeroEntityColumnInfo : DbBase
{
public long TableId { get; set; }
public string? DbColumnName { get; set; }
public string? PropertyName { get; set; }
public int Length { get; set; }
public int DecimalDigits { get; set; }
[SugarColumn(IsNullable = true)]
public string? Description { get; set; }
public bool IsIdentity { get; set; }
public bool IsPrimarykey { get; set; }
public bool IsArray { get; set; }
public bool IsJson { get; set; }
public bool IsNullable { get; set; }
public int Scale { get; set; }
public bool IsUnsigned { get; set; }
public NativeType PropertyType { get; set; }
[SugarColumn(IsNullable=true)]
public string? DataType { get; set; }
[SugarColumn(IsNullable=true,Length =200)]
public string? ExtendedAttribute { get; set; }
}
}