k.e.book.ddh.entity.CcAdminAddDTO Maven / Gradle / Ivy
package k.e.book.ddh.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
/**
* @author kk
* @date 2023-05-21 14:25
*/
@Data
@ApiModel(value="CcAdminAddDTO", description="CcAdmin")
public class CcAdminAddDTO implements Serializable{
@ApiModelProperty(value = "ID")
private Integer id;
@ApiModelProperty(value = "用户名")
private String username;
@ApiModelProperty(value = "昵称")
private String nickname;
@ApiModelProperty(value = "密码")
private String password;
@ApiModelProperty(value = "密码盐")
private String salt;
@ApiModelProperty(value = "头像")
private String avatar;
@ApiModelProperty(value = "电子邮箱")
private String email;
@ApiModelProperty(value = "手机号码")
private String mobile;
@ApiModelProperty(value = "失败次数")
private Integer loginfailure;
@ApiModelProperty(value = "登录时间")
private Long logintime;
@ApiModelProperty(value = "登录IP")
private String loginip;
@ApiModelProperty(value = "创建时间")
private Long createtime;
@ApiModelProperty(value = "更新时间")
private Long updatetime;
@ApiModelProperty(value = "Session标识")
private String token;
@ApiModelProperty(value = "状态")
private String status;
}