53 lines
1.4 KiB
C#
53 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using SqlSugar;
|
|
using WGShare.Domain.Enums;
|
|
using Yitter.IdGenerator;
|
|
namespace WGShare.Domain.Entities
|
|
{
|
|
/// <summary>
|
|
/// 反馈问题表
|
|
///</summary>
|
|
[SugarTable("feedback_issue")]
|
|
public class FeedbackIssue
|
|
{
|
|
/// <summary>
|
|
///
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
|
|
public string Id { get; set; } = YitIdHelper.NextId().ToString();
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// 默认值: CURRENT_TIMESTAMP
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "create_time", IsOnlyIgnoreInsert = true, IsOnlyIgnoreUpdate = true)]
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用户id
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "uid")]
|
|
public long UID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 分值
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "score")]
|
|
public double Score { get; set; }
|
|
|
|
/// <summary>
|
|
/// 反馈其他
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "other_content")]
|
|
public string OtherContent { get; set; }
|
|
|
|
/// <summary>
|
|
/// 反馈其他
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "types")]
|
|
public string Types { get; set; }
|
|
}
|
|
}
|