irc-netcore-api/IRaCIS.Core.Domain/Common/SystemBasicData.cs

52 lines
1.4 KiB
C#

//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-02-15 15:45:52
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using IRaCIS.Core.Domain.Share;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("系统 - 签名模板场景配置 (需要同步)")]
[Table("SystemBasicData")]
public class SystemBasicData : BaseFullAuditEntity
{
#region 导航属性
[JsonIgnore]
[ForeignKey("ParentId")]
public SystemBasicData Parent { get; set; }
#endregion
public BasicDataTypeEnum BasicDataTypeEnum { get; set; }
[StringLength(512)]
public string Code { get; set; } = null!;
[StringLength(512)]
public string Description { get; set; } = null!;
public bool IsEnable { get; set; }
[StringLength(400)]
public string Name { get; set; } = null!;
public Guid? ParentId { get; set; }
public int ShowOrder { get; set; }
[StringLength(512)]
public string Value { get; set; } = null!;
[StringLength(512)]
public string ValueCN { get; set; } = null!;
}