//-----------------------------------------------------------------------
//
// * Copyright (C) HT.Cloud.Framework All Rights Reserved
// * version : 1.0
// * author : HT.Cloud.Framework
// * FileName: Notice.cs
// * history : Created by T4 04/13/2020 16:51:21
//
//-----------------------------------------------------------------------
using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations;
namespace HT.Cloud.Domain.SystemOrganize
{
///
/// Notice Entity Model
///
[SugarTable("sys_notice")]
public class NoticeEntity : IEntity, ICreationAudited, IDeleteAudited, IModificationAudited
{
///
/// 主键Id
///
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
public string F_Id { get; set; }
///
/// 标题
///
[Required(ErrorMessage = "标题不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_Title", ColumnDataType = "nvarchar(50)", ColumnDescription = "标题", UniqueGroupNameList = new string[] { "sys_notice" })]
public string F_Title { get; set; }
///
/// 内容
///
[Required(ErrorMessage = "内容不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_Content", ColumnDataType = "longtext", ColumnDescription = "内容")]
public string F_Content { get; set; }
///
/// 删除标记
///
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
public Boolean? F_DeleteMark { get; set; }
///
/// 有效标记
///
[SugarColumn(IsNullable = true, ColumnDescription = "有效标记")]
public Boolean? F_EnabledMark { get; set; }
///
/// 备注
///
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "删除人Id")]
public string F_Description { get; set; }
///
/// 创建时间
///
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
public DateTime? F_CreatorTime { get; set; }
///
/// 创建人Id
///
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")]
public string F_CreatorUserId { get; set; }
///
/// 创建人姓名
///
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserName", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人姓名")]
public string F_CreatorUserName { get; set; }
///
/// 修改时间
///
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
public DateTime? F_LastModifyTime { get; set; }
///
/// 修改人Id
///
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改人Id")]
public string F_LastModifyUserId { get; set; }
///
/// 删除时间
///
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
public DateTime? F_DeleteTime { get; set; }
///
/// 删除人Id
///
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人Id")]
public string F_DeleteUserId { get; set; }
}
}