package com.xly.erp.module.usr.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

import java.util.List;

public class UpdateUserDTO {

    @JsonProperty("sUserNo")
    @NotBlank
    @Size(max = 50)
    private String sUserNo;

    @JsonProperty("sUserName")
    @NotBlank
    @Size(max = 50)
    private String sUserName;

    @JsonProperty("iStaffId")
    private Integer iStaffId;

    @JsonProperty("sUserType")
    @NotBlank
    private String sUserType;

    @JsonProperty("sLanguage")
    @NotBlank
    private String sLanguage;

    @JsonProperty("bCanModifyDocs")
    private Boolean bCanModifyDocs;

    @JsonProperty("permissionCategoryIds")
    private List<Integer> permissionCategoryIds;

    public String getSUserNo() { return sUserNo; }
    public void setSUserNo(String sUserNo) { this.sUserNo = sUserNo; }
    public String getSUserName() { return sUserName; }
    public void setSUserName(String sUserName) { this.sUserName = sUserName; }
    public Integer getIStaffId() { return iStaffId; }
    public void setIStaffId(Integer iStaffId) { this.iStaffId = iStaffId; }
    public String getSUserType() { return sUserType; }
    public void setSUserType(String sUserType) { this.sUserType = sUserType; }
    public String getSLanguage() { return sLanguage; }
    public void setSLanguage(String sLanguage) { this.sLanguage = sLanguage; }
    public Boolean getBCanModifyDocs() { return bCanModifyDocs; }
    public void setBCanModifyDocs(Boolean bCanModifyDocs) { this.bCanModifyDocs = bCanModifyDocs; }
    public List<Integer> getPermissionCategoryIds() { return permissionCategoryIds; }
    public void setPermissionCategoryIds(List<Integer> permissionCategoryIds) { this.permissionCategoryIds = permissionCategoryIds; }
}
