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