60 lines
1.5 KiB
C#
60 lines
1.5 KiB
C#
|
|
//--------------------------------------------------------------------
|
|
// 此代码由T4模板自动生成 byzhouhang 20210918
|
|
// 生成时间 2022-03-04 13:33:37
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
|
using IRaCIS.Core.Domain.Share;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
namespace IRaCIS.Core.Domain.Models;
|
|
|
|
[Comment("项目 - 项目外部人员")]
|
|
[Table("TrialExternalUser")]
|
|
public class TrialExternalUser : BaseFullAuditEntity
|
|
{
|
|
#region 导航属性
|
|
[JsonIgnore]
|
|
public Trial Trial { get; set; }
|
|
#endregion
|
|
|
|
|
|
public Guid TrialId { get; set; }
|
|
|
|
public Guid UserTypeId { get; set; }
|
|
|
|
public string Phone { get; set; } = String.Empty;
|
|
|
|
public string Email { get; set; } = String.Empty;
|
|
|
|
|
|
public string FirstName { get; set; } = String.Empty;
|
|
|
|
public string LastName { get; set; } = String.Empty;
|
|
|
|
|
|
public string OrganizationName { get; set; } = String.Empty;
|
|
|
|
public bool IsSystemUser { get; set; }
|
|
|
|
|
|
public Guid SystemUserId { get; set; }
|
|
|
|
public bool IsJoin { get; set; }
|
|
|
|
public DateTime? ExpireTime { get; set; }
|
|
|
|
public DateTime? ConfirmTime { get; set; }
|
|
|
|
[StringLength(512)]
|
|
public string RejectReason { get; set; } = String.Empty;
|
|
|
|
|
|
[Comment(" 邀请状态")]
|
|
public TrialExternalUserStateEnum InviteState { get; set; } = TrialExternalUserStateEnum.WaitSent;
|
|
|
|
}
|
|
|
|
|