NameDto.java 679 Bytes
Newer Older
1 2
package pwc.taxtech.atms.dto;

3
import com.fasterxml.jackson.annotation.JsonProperty;
gary's avatar
gary committed
4 5
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import pwc.taxtech.atms.common.util.PwCIdSerialize;
6
import pwc.taxtech.atms.constant.enums.RoleSource;
7

8
public class NameDto {
gary's avatar
gary committed
9

10
    @JsonProperty("ID")
gary's avatar
gary committed
11
    @JsonSerialize(using = PwCIdSerialize.class)
12
    private Long id;
13 14 15 16 17

    private String name;

    private RoleSource RoleSource;

18 19
    public Long getId() {
        return id;
20 21
    }

22 23
    public void setId(Long id) {
        this.id = id;
24 25 26 27 28 29 30 31 32 33
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}