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

34 lines
938 B
C#

//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2023-06-27 15:46:59
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
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("PublishLog")]
public class PublishLog : BaseFullAuditEntity
{
public bool IsCurrentVersion { get; set; }
public DateTime? PublishTime { get; set; }
[Comment("0 开发中 1已发布")]
public int State { get; set; }
[MaxLength]
public string? UpdateContent { get; set; }
public string Version { get; set; } = null!;
}