io.github.wslxm.springbootplus2.manage.test.model.query.GcTestQuery Maven / Gradle / Ivy
package io.github.wslxm.springbootplus2.manage.test.model.query;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.hibernate.validator.constraints.Range;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.github.wslxm.springbootplus2.core.base.model.BaseQuery;
/**
* base--gc--代码生成测试表 Query
*
*
* ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655
*
* @author ws
* @email [email protected]
* @date 2023-08-28 14:43:41
*/
@Data
@ToString(callSuper = true)
@ApiModel(value = "GcTestQuery 对象", description = "base--gc--代码生成测试表")
public class GcTestQuery extends BaseQuery {
private static final long serialVersionUID = -1696050906464415744L;
@ApiModelProperty(value = "名称 " ,position = 0)
@Length(min=0, max=64,message = "名称 必须>=0 和 <=64位")
private String name;
@ApiModelProperty(value = "年龄 " ,position = 1)
@DecimalMin(value="0",message="年龄 必须 >= 0")
@DecimalMax(value="9999999999.99",message="年龄 必须 <= 9999999999.99")
private Double age;
@ApiModelProperty(value = "禁用 " ,position = 2)
@Range(min=0L, max=9L,message = "禁用 必须>=0 和 <=9")
private Integer disable;
@ApiModelProperty(value = "时间 " ,position = 3)
private String time;
}