using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations;
namespace HT.Cloud.Domain.SystemManage
{
///
/// 创 建:超级管理员
/// 日 期:2020-05-21 14:38
/// 描 述:字段管理实体类
///
[SugarTable("sys_modulefields")]
[TenantAttribute("0")]
public class ModuleFieldsEntity : IEntity, ICreationAudited, IModificationAudited, IDeleteAudited
{
///
/// 主键Id
///
///
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
public string F_Id { get; set; }
///
/// 模块Id
///
///
[Required(ErrorMessage = "模块不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_ModuleId", ColumnDataType = "nvarchar(50)", ColumnDescription = "模块Id", UniqueGroupNameList = new string[] { "sys_modulefields" })]
public string F_ModuleId { get; set; }
///
/// 编号
///
///
[Required(ErrorMessage = "编号不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_EnCode", ColumnDataType = "nvarchar(50)", ColumnDescription = "编号", UniqueGroupNameList = new string[] { "sys_modulefields" })]
public string F_EnCode { get; set; }
///
/// 名称
///
///
[Required(ErrorMessage = "名称不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_FullName", ColumnDataType = "nvarchar(50)", ColumnDescription = "名称")]
public string F_FullName { get; set; }
///
/// 删除标记
///
///
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
public bool? F_DeleteMark { get; set; }
///
/// 有效标记
///
///
[SugarColumn(IsNullable = true, ColumnDescription = "有效标记")]
public bool? F_EnabledMark { get; set; }
///
/// 备注
///
///
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "备注")]
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, 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; }
///
/// 是否公共
///
[SugarColumn(IsNullable = true, ColumnDescription = "是否公共")]
public bool? F_IsPublic { get; set; }
}
}