52 lines
1.3 KiB
C#
52 lines
1.3 KiB
C#
|
|
using SqlSugar;
|
||
|
|
|
||
|
|
namespace QYZH.InteractiveMagazine.Models.Entity
|
||
|
|
{
|
||
|
|
///<summary>
|
||
|
|
///固定模板言论表
|
||
|
|
///</summary>
|
||
|
|
[SugarTable("TemplateSentence")]
|
||
|
|
public partial class TemplateSentence : BaseEntity
|
||
|
|
{
|
||
|
|
public TemplateSentence(){
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
/// <summary>
|
||
|
|
/// Desc:主键
|
||
|
|
/// Default:
|
||
|
|
/// Nullable:False
|
||
|
|
/// </summary>
|
||
|
|
[SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
|
||
|
|
public new int Id {get;set;}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Desc:模板内容
|
||
|
|
/// Default:
|
||
|
|
/// Nullable:False
|
||
|
|
/// </summary>
|
||
|
|
public string Sentence {get;set;}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Desc:是否启用
|
||
|
|
/// Default:b'1'
|
||
|
|
/// Nullable:False
|
||
|
|
/// </summary>
|
||
|
|
public bool IsActive {get;set;}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Desc:分类: Positive, Neutral, Negative
|
||
|
|
/// Default:Neutral
|
||
|
|
/// Nullable:False
|
||
|
|
/// </summary>
|
||
|
|
public string Type {get;set;}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Desc:状态: Active, Inactive
|
||
|
|
/// Default:Active
|
||
|
|
/// Nullable:False
|
||
|
|
/// </summary>
|
||
|
|
public string Status {get;set;}
|
||
|
|
}
|
||
|
|
}
|