//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-01-05 09:11:49
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
///
///SystemDocument
///
[Table("SystemDocument")]
public class SystemDocument : Entity, IAuditUpdate, IAuditAdd,ISoftDelete
{
[JsonIgnore]
public List SystemDocConfirmedUserList { get; set; }
[JsonIgnore]
public List NeedConfirmedUserTypeList { get; set; }
[JsonIgnore]
[ForeignKey("FileTypeId")]
public Dictionary FileType { get; set; }
public Guid FileTypeId { get; set; }
///
/// Name
///
[Required]
public string Name { get; set; } = string.Empty;
public int SignViewMinimumMinutes { get; set; }
///
/// Path
///
[Required]
public string Path { get; set; } = string.Empty;
///
/// CreateTime
///
[Required]
public DateTime CreateTime { get; set; }
///
/// CreateUserId
///
[Required]
public Guid CreateUserId { get; set; }
///
/// UpdateTime
///
[Required]
public DateTime UpdateTime { get; set; }
///
/// UpdateUserId
///
[Required]
public Guid UpdateUserId { get; set; }
public DateTime? DeletedTime { get; set; }
public bool IsDeleted { get; set; }
public Guid? DeleteUserId { get; set; }
}
}