All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.wslxm.springbootplus2.manage.sys.model.dto.SysBannerDTO Maven / Gradle / Ivy

The newest version!
package io.github.wslxm.springbootplus2.manage.sys.model.dto;

import io.github.wslxm.springbootplus2.core.base.model.Convert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

/**
 * banner表
 * 

* ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655 *

* @author wangsong * @email [email protected] * @date 2020-08-23 23:14:01 */ @Data @ToString(callSuper = true) @ApiModel(value = "SysBannerDTO 对象", description = "banner表") public class SysBannerDTO extends Convert { private static final long serialVersionUID = 0L; @ApiModelProperty(notes = "banner位置(字典code) ") @Range(min = 0, max = 99, message = "sys.banner.position.Range") private Integer position; @ApiModelProperty(notes = "banner标题 ") @Length(min = 1, max = 128, message = "sys.banner.name.Length") private String name; @ApiModelProperty(notes = "banner描叙 ") @Length(max = 256, message = "sys.banner.desc.Length") private String desc; @ApiModelProperty(notes = "banner图片 ") @Length(min = 1, max = 256, message = "sys.banner.imgUrl.Length") private String imgUrl; @ApiModelProperty(notes = "banner排序 ") @Range(min = 0, max = 2147483647L, message = "sys.banner.sort.Range") private Integer sort; @ApiModelProperty(notes = "banner禁用(0-启用 1-禁用) ") @Range(min = 0, max = 9L, message = "sys.banner.disable.Range") private Integer disable; @ApiModelProperty(notes = "是否跳转(0-无 1-内部链接 2-外部链接) ") @Range(min = 0, max = 9L, message = "sys.banner.isSkip.Range") private Integer isSkip; @ApiModelProperty(notes = "跳转地址url(地址直接添加或字典表配置) ") @Length(max = 256, message = "sys.banner.skipUrl.Length") private String skipUrl; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy