97 lines
2.0 KiB
C#
97 lines
2.0 KiB
C#
|
|
//--------------------------------------------------------------------
|
|
// 此代码由T4模板自动生成 byzhouhang 20210918
|
|
// 生成时间 2022-03-31 13:18:42
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
|
using System;
|
|
using IRaCIS.Core.Domain.Share;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
namespace IRaCIS.Core.Domain.Models
|
|
{
|
|
///<summary>
|
|
///CommonDocument
|
|
///</summary>
|
|
[Table("CommonDocument")]
|
|
public class CommonDocument : Entity, IAuditUpdate, IAuditAdd,ISoftDelete
|
|
{
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// Name
|
|
/// </summary>
|
|
[Required]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Path
|
|
/// </summary>
|
|
[Required]
|
|
public string Path { get; set; }
|
|
|
|
/// <summary>
|
|
/// CreateTime
|
|
/// </summary>
|
|
[Required]
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// CreateUserId
|
|
/// </summary>
|
|
[Required]
|
|
public Guid CreateUserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// UpdateTime
|
|
/// </summary>
|
|
[Required]
|
|
public DateTime UpdateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// UpdateUserId
|
|
/// </summary>
|
|
[Required]
|
|
public Guid UpdateUserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Description
|
|
/// </summary>
|
|
[Required]
|
|
public string Description { get; set; }
|
|
|
|
/// <summary>
|
|
/// IsDeleted
|
|
/// </summary>
|
|
[Required]
|
|
public bool IsDeleted { get; set; }
|
|
|
|
public DateTime? DeletedTime { get; set; }
|
|
|
|
public Guid? DeleteUserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Code
|
|
/// </summary>
|
|
[Required]
|
|
public string Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// FileTypeId
|
|
/// </summary>
|
|
[Required]
|
|
public Guid FileTypeId { get; set; }
|
|
|
|
|
|
|
|
public Guid ModuleTypeId { get; set; }
|
|
|
|
|
|
public Dictionary FileType { get; set; }
|
|
|
|
public Dictionary ModuleType { get; set; }
|
|
|
|
}
|
|
|
|
}
|