track/src/SJZY.Track.Domain/VEntities/VCountryEntity.cs
2024-07-29 14:09:15 +08:00

110 lines
2.8 KiB
C#

using SqlSugar;
using System;
namespace SJZY.Track.Domain.VEntities;
[SugarTable("v_country")]
public class VCountryEntity : IFullAuditedBasicEntitys
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 区域id
/// </summary>
[SugarColumn(ColumnName = "AreaId")]
public int AreaId { get; set; }
/// <summary>
/// 币种id
/// </summary>
[SugarColumn(ColumnName = "CurrencyId", IsNullable = true)]
public int? CurrencyId { get; set; }
/// <summary>
/// 中文名
/// </summary>
[SugarColumn(ColumnName = "CnName")]
public string CnName { get; set; }
/// <summary>
/// 英文名
/// </summary>
[SugarColumn(ColumnName = "EnName")]
public string EnName { get; set; }
/// <summary>
/// 二字代码
/// </summary>
[SugarColumn(ColumnName = "Digit2Code")]
public string Digit2Code { get; set; }
/// <summary>
/// 三字代码
/// </summary>
[SugarColumn(ColumnName = "Digit3Code", IsNullable = true)]
public string Digit3Code { get; set; }
/// <summary>
/// 企业代码类型
/// </summary>
[SugarColumn(ColumnName = "EnterpriseCodeType", IsNullable = true)]
public string EnterpriseCodeType { get; set; }
/// <summary>
/// 区号
/// </summary>
[SugarColumn(ColumnName = "CountryCode", IsNullable = true)]
public int? CountryCode { get; set; }
/// <summary>
/// 时差
/// </summary>
[SugarColumn(ColumnName = "JetLag")]
public int JetLag { get; set; }
/// <summary>
/// 城市名
/// </summary>
[SugarColumn(ColumnName = "CountryName", IsNullable = true)]
public string CountryName { get; set; }
/// <summary>
/// 是否不可使用
/// </summary>
[SugarColumn(ColumnName = "IsUnusable", IsNullable = false)]
public bool IsUnusable { get; set; }
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(ColumnName = "CreateUserId", IsNullable = true)]
public int? CreateUserId { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "CreateTime", IsNullable = false, DefaultValue = "CURRENT_TIMESTAMP")]
public DateTime CreateTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
[SugarColumn(ColumnName = "UpdateUserId", IsNullable = true)]
public int? UpdateUserId { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[SugarColumn(ColumnName = "UpdateTime", IsNullable = true)]
public DateTime? UpdateTime { get; set; }
/// <summary>
/// 是否删除
/// </summary>
[SugarColumn(ColumnName = "IsDeleted", IsNullable = false)]
public bool IsDeleted { get; set; }
}