61 lines
1.8 KiB
C#
61 lines
1.8 KiB
C#
using System;
|
|
using SqlSugar;
|
|
|
|
namespace YD_Event.Core.Entities
|
|
{
|
|
/// <summary>
|
|
/// 证书模板表 (CertificateTemplate)
|
|
/// </summary>
|
|
[SugarTable("CertificateTemplate")]
|
|
public class CertificateTemplate : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime
|
|
{
|
|
/// <summary>
|
|
/// 版本号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "版本号", IsNullable = false)]
|
|
public int Version { get; set; }
|
|
|
|
/// <summary>
|
|
/// 背景图片 URL
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "背景图片URL", IsNullable = false)]
|
|
public string BackgroundImageUrl { get; set; }
|
|
|
|
/// <summary>
|
|
/// 像素宽度
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "像素宽度", IsNullable = false)]
|
|
public int Width { get; set; }
|
|
|
|
/// <summary>
|
|
/// 像素高度
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "像素高度", IsNullable = false)]
|
|
public int Height { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否当前激活版本
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "是否当前激活版本", DefaultValue = "0")]
|
|
public bool IsActive { get; set; }
|
|
|
|
/// <summary>
|
|
/// 软删除
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "软删除")]
|
|
public bool DeleteMark { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建人ID
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "创建人ID")]
|
|
public long CreatedUserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "创建时间")]
|
|
public DateTime CreatedTime { get; set; }
|
|
}
|
|
}
|