/// <summary> /// Initializes a new instance of the <see cref="UsersMasksDTO" /> class. /// </summary> /// <param name="documentType">Document type.</param> /// <param name="defaultMask">Default document Type Mask.</param> /// <param name="usersMasks">Users masks.</param> public UsersMasksDTO(DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), MaskSimpleDTO defaultMask = default(MaskSimpleDTO), List <UserMaskDTO> usersMasks = default(List <UserMaskDTO>)) { this.DocumentType = documentType; this.DefaultMask = defaultMask; this.UsersMasks = usersMasks; }
/// <summary> /// Initializes a new instance of the <see cref="UserMaskDTO" /> class. /// </summary> /// <param name="user">User.</param> /// <param name="mask">Mask.</param> public UserMaskDTO(UserSimpleDTO user = default(UserSimpleDTO), MaskSimpleDTO mask = default(MaskSimpleDTO)) { this.User = user; this.Mask = mask; }
/// <summary> /// Initializes a new instance of the <see cref="AdditionalFieldManagementClasseDTO" /> class. /// </summary> /// <param name="deleteRule">Possible values: 0: Cascade 1: Owned .</param> /// <param name="linkedDocumentType">Linked document type.</param> /// <param name="maskForInsert">Mask for insert.</param> /// <param name="maskForView">Mask for view.</param> /// <param name="showExpanded">Show expanded.</param> /// <param name="singleElement">Single element.</param> public AdditionalFieldManagementClasseDTO(int?deleteRule = default(int?), DocumentTypeSimpleDTO linkedDocumentType = default(DocumentTypeSimpleDTO), MaskSimpleDTO maskForInsert = default(MaskSimpleDTO), MaskSimpleDTO maskForView = default(MaskSimpleDTO), bool?showExpanded = default(bool?), bool?singleElement = default(bool?), string className = "AdditionalFieldManagementClasseDTO", string key = default(string), string description = default(string), FieldGroupSimpleDTO fieldGroup = default(FieldGroupSimpleDTO), DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), string referenceId = default(string), int?order = default(int?), bool?required = default(bool?), bool?visible = default(bool?), string externalId = default(string), string formula = default(string), List <AdditionalFieldManagementTranslationDTO> translations = default(List <AdditionalFieldManagementTranslationDTO>)) : base(className, key, description, fieldGroup, documentType, referenceId, order, required, visible, externalId, formula, translations) { this.DeleteRule = deleteRule; this.LinkedDocumentType = linkedDocumentType; this.MaskForInsert = maskForInsert; this.MaskForView = maskForView; this.ShowExpanded = showExpanded; this.SingleElement = singleElement; }