//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-03-28 16:43:12
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
namespace IRaCIS.Core.Domain.Models
{
///
///FrontAuditConfig
///
[Table("FrontAuditConfig")]
public class FrontAuditConfig : BaseFullAuditEntity
{
#region 导航属性
#endregion
public string Value { get; set; } = String.Empty;
public string ValueCN { get; set; } = String.Empty;
public string Description { get; set; } = String.Empty;
public string DescriptionCN { get; set; } = String.Empty;
///
/// 是否有签名
///
public bool IsHaveSign { get; set; }
///
/// 是否有原因
///
public bool IsHaveReason { get; set; }
///
/// 是否完成
///
public bool IsFinish { get; set; }
///
/// 是否加入计划
///
public bool IsJoinPlan { get; set; }
///
/// 标识
///
public string Identification { get; set; } = string.Empty;
public Guid? ParentId { get; set; }
public bool IsEnable { get; set; }
public int Sort { get; set; }
public Guid? ModuleTypeId { get; set; }
public Guid? ObjectTypeId { get; set; }
public Guid? OptTypeId { get; set; }
public Guid? ChildrenTypeId { get; set; }
public int IsShowParent { get; set; }
public string InterfaceName { get; set; } = String.Empty;
//前端使用 C M
public string ConfigType { get; set; } = String.Empty;
//翻译的字段名 这里有可能是一个数组名 那么具体的翻译字段名就不是这个了
public string Code { get; set; } = String.Empty;
//前端渲染数组 数组名 和数组值
public string ChildDataLabel { get; set; }
public string ChildDataValue { get; set; }
///
/// 翻译的字典名(单个字段翻译的时候)
///
public string DictionaryCode { get; set; } = String.Empty;
///
/// 前端展示类型 Router, Array,Table
///
public string DataType { get; set; }
// 后端翻译的类型 对应前端界面 "",Dictionary,Date
public string EnumType { get; set; }
///
/// 翻译的类型 FrontAudit 的描述 可能是Id Code
///
public string DictionaryType { get; set; } = String.Empty;
///
/// 后端翻译的 日期类型
///
public string DateType { get; set; } = String.Empty;
/// 字典表
public string ForeignKeyTableName { get; set; } = String.Empty;
/// 字典Value
public string ForeignKeyValue { get; set; } = String.Empty;
/// 字典
public string ForeignKeyText { get; set; } = String.Empty;
public string TableConfigJsonStr { get; set; } = String.Empty;
public string UrlConfigJsonStr { get; set; } = String.Empty;
#region 废弃
//未知是否有用
public bool IsConfig { get; set; }
///
/// 是否为特殊类型
///
public bool IsSpecialType { get; set; }
public string DictionaryKey { get; set; }
public bool IsShowByTrialConfig { get; set; }
public string TrialConfigRelyFieldName { get; set; }
#endregion
}
public class UrlConfig
{
public bool IsRoute { get; set; }
public string RoutePath { get; set; }
public bool IsHaveParameters { get; set; }
public List ParameterList { get; set; } = new List();
public class ParameterConfig
{
public string UrlParameterName { get; set; } = String.Empty;
public string UrlParameterValueName { get; set; } = String.Empty;
}
}
public class TableConfig
{
public bool IsList { get; set; }
public string ListName { get; set; } = String.Empty;
public bool IsFixedColumn { get; set; }
public string FixedColumnName { get; set; } = String.Empty;
public string ColumnName { get; set; } = String.Empty;
public string ColumnValue { get; set; } = String.Empty;
public bool IsMerge { get; set; }
public string MergeColumnName { get; set; } = String.Empty;
public bool IsPicture { get; set; }
public bool IsNeedTransalate { get; set; }
public string TranslateDictionaryName { get; set; } = String.Empty;
public bool IsDynamicTranslate { get; set; }
}
}