using System;
using Lottomat.Application.Code;
using Lottomat.Util;
using Lottomat.Utils.Date;
namespace Lottomat.Application.Entity.SystemManage
{
///
/// 版 本
/// Copyright (c) 2016-2017
/// 创 建:超级管理员
/// 日 期:2017-12-18 10:55
/// 描 述:意见反馈
///
public class FeedbackEntity : BaseEntity
{
#region 实体成员
///
/// PK
///
///
//public int? PK { get; set; }
///
/// ID
///
///
public string ID { get; set; }
///
/// 昵称
///
///
public string NickName { get; set; }
///
/// 联系方式
///
///
public string Contact { get; set; }
///
/// 反馈内容
///
///
public string Content { get; set; }
///
/// 添加时间
///
///
public DateTime? AddTime { get; set; }
///
/// IP地址
///
///
public string IP { get; set; }
///
/// 来自
///
///
public string From { get; set; }
///
/// 是否回复
///
///
public bool? IsReply { get; set; }
///
/// 回复时间
///
///
public DateTime? ReplyTime { get; set; }
///
/// 回复内容
///
///
public string ReplyContent { get; set; }
///
/// 回复人
///
///
public string ReplyUserName { get; set; }
///
/// 是否删除
///
///
public bool? IsDelete { get; set; }
///
/// 是否公开
///
///
public bool? IsPublic { get; set; }
#endregion
#region 扩展操作
///
/// 新增调用
///
public override void Create()
{
this.ID = CommonHelper.GetGuid().ToString();
this.IsDelete = false;
this.AddTime = DateTimeHelper.Now;
this.IsReply = false;
this.IsPublic = true;
}
///
/// 编辑调用
///
///
public override void Modify(string keyValue)
{
this.ID = keyValue;
}
#endregion
}
}