Ejemplo n.º 1
0
 public dtoSubmitterType(SubmitterType submitter)
 {
     Id          = submitter.Id;
     Name        = submitter.Name;
     Description = submitter.Description;
     Deleted     = submitter.Deleted;
     AllowMultipleSubmissions = submitter.AllowMultipleSubmissions;
     MaxMultipleSubmissions   = (submitter.MaxMultipleSubmissions > 1 && !submitter.AllowMultipleSubmissions) ? 1 : submitter.MaxMultipleSubmissions;
     DisplayOrder             = submitter.DisplayOrder;
 }
Ejemplo n.º 2
0
 public TemplateAssignment(SubmitterTemplateMail template, SubmitterType submitterType)
 {
     SubmitterType = submitterType;
     Template      = template;
     if (template != null)
     {
         Call = template.Call;
     }
     Deleted = BaseStatusDeleted.None;
 }
Ejemplo n.º 3
0
 public dtoBaseSubmitterType(SubmitterType submitter)
 {
     Id      = submitter.Id;
     Name    = submitter.Name;
     Deleted = submitter.Deleted;
 }
Ejemplo n.º 4
0
 public AttachmentAssignment(AttachmentFile file, SubmitterType submitterType)
 {
     SubmitterType = submitterType;
     Attachment    = file;
     Deleted       = BaseStatusDeleted.None;
 }
Ejemplo n.º 5
0
 public RequestedFileAssignment(RequestedFile requestedFile, SubmitterType submitterType)
 {
     SubmitterType = submitterType;
     RequestedFile = requestedFile;
     Deleted = BaseStatusDeleted.None;
 }
Ejemplo n.º 6
0
 public FieldAssignment(FieldDefinition field, SubmitterType submitterType)
 {
     SubmitterType = submitterType;
     Field         = field;
     Deleted       = BaseStatusDeleted.None;
 }