69 lines
1.9 KiB
C#
69 lines
1.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using IRaCIS.Common.Model;
|
|
|
|
namespace IRaCIS.Application.ViewModels
|
|
{
|
|
public class UserTrialDTO: UserTrialCommand
|
|
{
|
|
public DateTime UpdateTime { get; set; } = DateTime.Now;
|
|
}
|
|
|
|
public class SiteCRCCommand : UserTrialCommand
|
|
{
|
|
public Guid OrganizationTypeId { get; set; }
|
|
public string OrganizationType { get; set; }
|
|
|
|
public Guid SiteId { get; set; } = Guid.Empty;
|
|
}
|
|
|
|
public class UserTrialCommand
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid UserId { get; set; }
|
|
public Guid TrialId { get; set; }
|
|
public Guid UserTypeId { get; set; }
|
|
public string UserType { get; set; }
|
|
|
|
public Guid OrganizationId { get; set; }
|
|
public string OrganizationName { get; set; }
|
|
|
|
public string UserRealName { get; set; }
|
|
|
|
}
|
|
public class SiteCrcDTO : UserTrialDTO
|
|
{
|
|
public Guid SiteId { get; set; } = Guid.Empty;
|
|
public Guid OrganizationTypeId { get; set; }
|
|
public string OrganizationType { get; set; }
|
|
public string Site { get; set; }
|
|
public string City { get; set; }
|
|
public string Country { get; set; }
|
|
|
|
|
|
}
|
|
public class UserSelectionModel
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string RealName { get; set; }
|
|
}
|
|
|
|
public class UserTrialListQueryDTO : PageInput
|
|
{
|
|
public Guid TrialId { get; set; } = Guid.Empty;
|
|
public string UserName { get; set; } = string.Empty;
|
|
public Guid? UserTypeId { get; set; } = Guid.Empty;
|
|
}
|
|
|
|
public class SiteCrcQueryDTO : PageInput
|
|
{
|
|
public Guid TrialId { get; set; } = Guid.Empty;
|
|
public string UserName { get; set; } = string.Empty;
|
|
|
|
public Guid? OrganizationTypeId { get; set; } = Guid.Empty;
|
|
//public Guid SiteId { get; set; } = Guid.Empty;
|
|
|
|
public string SiteName { get; set; } = string.Empty;
|
|
}
|
|
}
|