/* Options: Date: 2026-06-24 18:49:10 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://etc-api.vsmlab.vn //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: UpdateDocumentNumberFormatRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/document-number-format/{Id}", Verbs="PUT") public static class UpdateDocumentNumberFormatRequest implements IReturn { public Integer id = null; public String typeKey = null; public String name = null; public String formatTemplate = null; public Integer padding = null; public Integer resetPeriod = null; public String labelKeys = null; public Boolean isActive = null; public Integer getId() { return id; } public UpdateDocumentNumberFormatRequest setId(Integer value) { this.id = value; return this; } public String getTypeKey() { return typeKey; } public UpdateDocumentNumberFormatRequest setTypeKey(String value) { this.typeKey = value; return this; } public String getName() { return name; } public UpdateDocumentNumberFormatRequest setName(String value) { this.name = value; return this; } public String getFormatTemplate() { return formatTemplate; } public UpdateDocumentNumberFormatRequest setFormatTemplate(String value) { this.formatTemplate = value; return this; } public Integer getPadding() { return padding; } public UpdateDocumentNumberFormatRequest setPadding(Integer value) { this.padding = value; return this; } public Integer getResetPeriod() { return resetPeriod; } public UpdateDocumentNumberFormatRequest setResetPeriod(Integer value) { this.resetPeriod = value; return this; } public String getLabelKeys() { return labelKeys; } public UpdateDocumentNumberFormatRequest setLabelKeys(String value) { this.labelKeys = value; return this; } public Boolean getIsActive() { return isActive; } public UpdateDocumentNumberFormatRequest setIsActive(Boolean value) { this.isActive = value; return this; } private static Object responseType = DocumentNumberFormat.class; public Object getResponseType() { return responseType; } } public static class DocumentNumberFormat { public Integer id = null; @Required() @StringLength(50) public String typeKey = null; @Required() @StringLength(255) public String name = null; @Required() @StringLength(255) public String formatTemplate = null; public Integer padding = null; public Integer resetPeriod = null; @StringLength(500) public String labelKeys = null; public Boolean isActive = null; public Boolean isDeleted = null; public Date deletedAt = null; public Integer deletedBy = null; public Date createdAt = null; public Integer createdBy = null; public Date updatedAt = null; public Integer updatedBy = null; public Integer getId() { return id; } public DocumentNumberFormat setId(Integer value) { this.id = value; return this; } public String getTypeKey() { return typeKey; } public DocumentNumberFormat setTypeKey(String value) { this.typeKey = value; return this; } public String getName() { return name; } public DocumentNumberFormat setName(String value) { this.name = value; return this; } public String getFormatTemplate() { return formatTemplate; } public DocumentNumberFormat setFormatTemplate(String value) { this.formatTemplate = value; return this; } public Integer getPadding() { return padding; } public DocumentNumberFormat setPadding(Integer value) { this.padding = value; return this; } public Integer getResetPeriod() { return resetPeriod; } public DocumentNumberFormat setResetPeriod(Integer value) { this.resetPeriod = value; return this; } public String getLabelKeys() { return labelKeys; } public DocumentNumberFormat setLabelKeys(String value) { this.labelKeys = value; return this; } public Boolean getIsActive() { return isActive; } public DocumentNumberFormat setIsActive(Boolean value) { this.isActive = value; return this; } public Boolean getIsDeleted() { return isDeleted; } public DocumentNumberFormat setIsDeleted(Boolean value) { this.isDeleted = value; return this; } public Date getDeletedAt() { return deletedAt; } public DocumentNumberFormat setDeletedAt(Date value) { this.deletedAt = value; return this; } public Integer getDeletedBy() { return deletedBy; } public DocumentNumberFormat setDeletedBy(Integer value) { this.deletedBy = value; return this; } public Date getCreatedAt() { return createdAt; } public DocumentNumberFormat setCreatedAt(Date value) { this.createdAt = value; return this; } public Integer getCreatedBy() { return createdBy; } public DocumentNumberFormat setCreatedBy(Integer value) { this.createdBy = value; return this; } public Date getUpdatedAt() { return updatedAt; } public DocumentNumberFormat setUpdatedAt(Date value) { this.updatedAt = value; return this; } public Integer getUpdatedBy() { return updatedBy; } public DocumentNumberFormat setUpdatedBy(Integer value) { this.updatedBy = value; return this; } } }