001package ca.cdr.api.model.json;
002
003/*
004 * #%L
005 * Smile CDR - CDR
006 * %%
007 * Copyright (C) 2016 - 2024 Smile CDR, Inc.
008 * %%
009 * All rights reserved.
010 * #L%
011 */
012
013import com.fasterxml.jackson.annotation.JsonProperty;
014import jakarta.validation.constraints.NotBlank;
015
016public class AuditEventTargetUserJson implements IModelJson {
017
018        @JsonProperty("familyName")
019        private String myFamilyName;
020
021        @JsonProperty("givenName")
022        private String myGivenName;
023
024        @JsonProperty("id")
025        private Long myId;
026
027        @NotBlank
028        @JsonProperty("moduleId")
029        private String myModuleId;
030
031        @NotBlank
032        @JsonProperty("nodeId")
033        private String myNodeId;
034
035        @NotBlank
036        @JsonProperty("username")
037        private String myUsername;
038
039        /**
040         * Constructor
041         */
042        public AuditEventTargetUserJson() {
043                super();
044        }
045
046        public String getFamilyName() {
047                return myFamilyName;
048        }
049
050        public void setFamilyName(String theFamilyName) {
051                myFamilyName = theFamilyName;
052        }
053
054        public String getGivenName() {
055                return myGivenName;
056        }
057
058        public void setGivenName(String theGivenName) {
059                myGivenName = theGivenName;
060        }
061
062        public Long getId() {
063                return myId;
064        }
065
066        public void setId(Long theId) {
067                myId = theId;
068        }
069
070        public String getUsername() {
071                return myUsername;
072        }
073
074        public void setUsername(String theUsername) {
075                myUsername = theUsername;
076        }
077
078        public String getModuleId() {
079                return myModuleId;
080        }
081
082        public void setModuleId(String theModuleId) {
083                myModuleId = theModuleId;
084        }
085
086        public String getNodeId() {
087                return myNodeId;
088        }
089
090        public void setNodeId(String theNodeId) {
091                myNodeId = theNodeId;
092        }
093}