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

56 lines
1.5 KiB
C#

//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2023-06-01 13:37:10
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 国际化配置表 (需要同步)")]
[Table("Internationalization")]
public class Internationalization : BaseFullAuditEntity
{
#region 导航属性
[JsonIgnore]
public PublishLog PublishLog { get; set; }
#endregion
[StringLength(400)]
public string Code { get; set; } = null!;
[StringLength(400)]
public string Description { get; set; } = null!;
[Comment(" 前端类型")]
[StringLength(1000)]
public string FrontType { get; set; } = null!;
[Comment(" 前端还是后端")]
public int InternationalizationType { get; set; }
[Comment(" 模块")]
public string Module { get; set; } = null!;
[Comment(" 版本")]
public Guid? PublishLogId { get; set; }
public int ShowOrder { get; set; }
[Comment(" 0 1 2 预翻译 已确认 废除")]
public int State { get; set; }
[StringLength(2000)]
public string Value { get; set; } = null!;
[StringLength(2000)]
public string ValueCN { get; set; } = null!;
}