//--------------------------------------------------------------------
//     此代码由T4模板自动生成  byzhouhang 20210918
//	   生成时间 2022-03-24 13:22:20 
//     对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
//--------------------------------------------------------------------
using System.ComponentModel.DataAnnotations;

namespace IRaCIS.Core.Application.ViewModel
{
    /// <summary> TrialUserPreparation View  列表视图模型 </summary>
    public class TrialUserPreparationView
    {
        public Guid UserId { get; set; }
        public Guid TrialId { get; set; }
        public DateTime UpdateTime { get; set; }
        public DateTime CreateTime { get; set; }
        public Guid CreateUserId { get; set; }
        public Guid UpdateUserId { get; set; }
        public DateTime ExpireTime { get; set; }



        public string UserName { get; set; }

        public string UserRealName { get; set; }

        public string UserTypeShortName { get; set; }

    }

    ///<summary>TrialUserPreparation Query  列表查询参数模型</summary>
    public class TrialUserPreparationQuery
    {
        public Guid? UserTypeId { get; set; }
    }

    ///<summary> TrialUserPreparation AddOrEdit  列表查询参数模型</summary>






    public class JoinCommand
    {
        public UserJoinTrialCommand TrialUserInfo { get; set; }

        //public TrialUserPreparationEdit JoinInfo { get; set; }
    }


    public class UserJoinTrialCommand
    {
        [NotDefault]
        public Guid TrialId { get; set; }

        [NotDefault]
        public Guid UserId { get; set; }

        public Guid? TrialSiteId { get; set; }

        public bool IsExternal { get; set; }
    }

}


