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

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

public class CreateModuleDTO {

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

    @JsonProperty("sProcedureName")
    @NotBlank
    @Size(max = 100)
    private String sProcedureName;

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

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

    @JsonProperty("bShowPermission")
    private Boolean bShowPermission;

    @JsonProperty("sModuleNameZh")
    @NotBlank
    @Size(max = 100)
    private String sModuleNameZh;

    @JsonProperty("iParentId")
    private Integer iParentId;

    @JsonProperty("iSortOrder")
    private Integer iSortOrder;

    public String getSDisplayType() { return sDisplayType; }
    public void setSDisplayType(String sDisplayType) { this.sDisplayType = sDisplayType; }
    public String getSProcedureName() { return sProcedureName; }
    public void setSProcedureName(String sProcedureName) { this.sProcedureName = sProcedureName; }
    public String getSModuleType() { return sModuleType; }
    public void setSModuleType(String sModuleType) { this.sModuleType = sModuleType; }
    public String getSManageDeptEn() { return sManageDeptEn; }
    public void setSManageDeptEn(String sManageDeptEn) { this.sManageDeptEn = sManageDeptEn; }
    public Boolean getBShowPermission() { return bShowPermission; }
    public void setBShowPermission(Boolean bShowPermission) { this.bShowPermission = bShowPermission; }
    public String getSModuleNameZh() { return sModuleNameZh; }
    public void setSModuleNameZh(String sModuleNameZh) { this.sModuleNameZh = sModuleNameZh; }
    public Integer getIParentId() { return iParentId; }
    public void setIParentId(Integer iParentId) { this.iParentId = iParentId; }
    public Integer getISortOrder() { return iSortOrder; }
    public void setISortOrder(Integer iSortOrder) { this.iSortOrder = iSortOrder; }
}
