/* Options: Date: 2026-09-01 02:39:15 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api-stage.smartfarmertech.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: RolesSystemFunctionsAutoQueryAdd.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { public static class RolesSystemFunctionsAutoQueryAdd implements IReturn, ICreateDb { @DataMember(Order=2) public Long rolesId = null; @DataMember(Order=3) public Long systemFunctionsId = null; @DataMember(Order=5) public ResponseStatus responseStatus = null; public Long getRolesId() { return rolesId; } public RolesSystemFunctionsAutoQueryAdd setRolesId(Long value) { this.rolesId = value; return this; } public Long getSystemFunctionsId() { return systemFunctionsId; } public RolesSystemFunctionsAutoQueryAdd setSystemFunctionsId(Long value) { this.systemFunctionsId = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public RolesSystemFunctionsAutoQueryAdd setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } private static Object responseType = RolesSystemFunctions.class; public Object getResponseType() { return responseType; } } public static class RolesSystemFunctions { @DataMember(Order=1) @Required() public Long id = null; @DataMember(Order=2) @Required() @References(Roles.class) public Long rolesId = null; @DataMember(Order=3) @Required() @References(SystemFunctions.class) public Long systemFunctionsId = null; public Long getId() { return id; } public RolesSystemFunctions setId(Long value) { this.id = value; return this; } public Long getRolesId() { return rolesId; } public RolesSystemFunctions setRolesId(Long value) { this.rolesId = value; return this; } public Long getSystemFunctionsId() { return systemFunctionsId; } public RolesSystemFunctions setSystemFunctionsId(Long value) { this.systemFunctionsId = value; return this; } } public static class Roles { @DataMember(Order=1) @Required() public Long id = null; @DataMember(Order=2) @Required() @References(Tenants.class) public Long tenantsId = null; @DataMember(Order=3) @Required() public String name = null; public Long getId() { return id; } public Roles setId(Long value) { this.id = value; return this; } public Long getTenantsId() { return tenantsId; } public Roles setTenantsId(Long value) { this.tenantsId = value; return this; } public String getName() { return name; } public Roles setName(String value) { this.name = value; return this; } } public static class SystemFunctions { @DataMember(Order=1) @Required() public Long id = null; @DataMember(Order=2) @Required() public String systemFunction = null; @DataMember(Order=3) @Required() public String longDescription = null; public Long getId() { return id; } public SystemFunctions setId(Long value) { this.id = value; return this; } public String getSystemFunction() { return systemFunction; } public SystemFunctions setSystemFunction(String value) { this.systemFunction = value; return this; } public String getLongDescription() { return longDescription; } public SystemFunctions setLongDescription(String value) { this.longDescription = value; return this; } } public static class Tenants { @DataMember(Order=1) @Required() public Long id = null; @DataMember(Order=2) @Required() @References(Zones.class) public Long mainZonesId = null; @DataMember(Order=3) public Boolean isPublic = null; public Long getId() { return id; } public Tenants setId(Long value) { this.id = value; return this; } public Long getMainZonesId() { return mainZonesId; } public Tenants setMainZonesId(Long value) { this.mainZonesId = value; return this; } public Boolean getIsPublic() { return isPublic; } public Tenants setIsPublic(Boolean value) { this.isPublic = value; return this; } } public static class Zones { @DataMember(Order=1) @Required() public Long id = null; @DataMember(Order=2) @Required() @References(Tenants.class) public Long tenantsId = null; @DataMember(Order=3) @Required() public String name = null; @DataMember(Order=4) @Required() public Boolean isMain = null; @DataMember(Order=5) @Required() public Boolean isDefault = null; public Long getId() { return id; } public Zones setId(Long value) { this.id = value; return this; } public Long getTenantsId() { return tenantsId; } public Zones setTenantsId(Long value) { this.tenantsId = value; return this; } public String getName() { return name; } public Zones setName(String value) { this.name = value; return this; } public Boolean getIsMain() { return isMain; } public Zones setIsMain(Boolean value) { this.isMain = value; return this; } public Boolean getIsDefault() { return isDefault; } public Zones setIsDefault(Boolean value) { this.isDefault = value; return this; } } }