FangJianJun_branch
方建军 1 year ago
parent 63636e38bf
commit 5a93c224e6

@ -0,0 +1,81 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.dto;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yami.shop.common.serializer.json.ImgJsonSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.Date;
/**
* `IndexImgDto`DTO
* 使
* 便
* ID
* @author lanhai
*/
@Schema(description = "首页图片对象")
@Data
public class IndexImgDto {
/**
* `imgUrl`访
* 使URL
* `imgUrl`
* `@JsonSerialize(using = ImgJsonSerializer.class)` JSON
* 使使
* `@Schema` Url`required = true`
* 便
*/
@JsonSerialize(using = ImgJsonSerializer.class)
@Schema(description = "图片Url", required = true)
private String imgUrl;
/**
* `seq`
* `seq`
*
* `@Schema`
* 便
*/
@Schema(description = "图片顺序", required = true)
private Integer seq;
/**
* `uploadTime` `Date` `yyyy-MM-dd HH:mm:ss`
* 便
* `@Schema`
*
*/
@Schema(description = "上传时间", required = true)
private Date uploadTime;
/**
* `type`
* `1` `2` `3`
*
* 便
* `@Schema` 便
*/
@Schema(description = "类型", required = true)
private int type;
/**
* `relation` `id` `id`
*
* `relation`
* `@Schema` idID便
*/
@Schema(description = "关联id", required = true)
private Long relation;
}

@ -0,0 +1,104 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.param;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* `LoginParam`
* 便
*
* @author lanhai
*/
@Schema(description = "登陆参数")
public class LoginParam {
/**
* `code` `code` `code`
* `code` `code`
* `@Schema` `code`使 `code`
* `required = true` `code`
*
*/
@Schema(description = "小程序登陆时返回的code(使用code登陆必填)", required = true)
private String code;
/**
* `mobile`
* 便
* `@Schema`
* 使
*/
@Schema(description = "登陆时的用户名(账号密码登陆必填)", required = true)
private String mobile;
/**
* `password` `mobile`
*
* `@Schema`
* 使
*/
@Schema(description = "登陆时的密码(账号密码登陆必填)", required = true)
private String password;
/**
* `getCode`JavaBean访Getter `code`
* 访 `code`
* 访
*/
public String getCode() {
return code;
}
/**
* `setCode` `getCode` Setter `code`
* `code`
* JavaBean便
*/
public void setCode(String code) {
this.code = code;
}
/**
* `getMobile` `mobile` Getter `getCode`
* 使便
*/
public String getMobile() {
return mobile;
}
/**
* `setMobile` `getMobile` Setter `mobile`
*
*
*/
public void setMobile(String mobile) {
this.mobile = mobile;
}
/**
* `getPassword` `password` Getter
* 便使
*
*/
public String getPassword() {
return password;
}
/**
* `setPassword` `password` Setter
*
*/
public void setPassword(String password) {
this.password = password;
}
}

@ -0,0 +1,129 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yami.shop.common.serializer.json.ImgJsonSerializer;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* `IndexImg`
* 便
*
* @author lanhai
*/
@Data
@TableName("tz_index_img")
public class IndexImg implements Serializable {
private static final long serialVersionUID = -3468251351681518798L;
/**
* `imgId`
* `imgId`
* ID
*
*/
@TableId
private Long imgId;
/**
* `shopId`ID
*
* ID
*/
private Long shopId;
/**
* `imgUrl`访
* 使URL
*
*/
private String imgUrl;
/**
* `des`
*
*
*/
private String des;
/**
* `title`
*
*
*/
private String title;
/**
* `link`
*
*
*/
private String link;
/**
* `status` `0`
* `1` 便
*
*/
private Integer status;
/**
* `seq`
* `seq`
*
*/
private Integer seq;
/**
* `uploadTime` `Date` `yyyy-MM-dd HH:mm:ss`
*
*/
private Date uploadTime;
/**
* `type` `1` `2`
* `3`
* 便
*/
private int type;
/**
* `relation` `id` `id`
*
* 便
*/
private Long relation;
/**
* `pic` `@TableField(exist = false)`
* 使 `@JsonSerialize(using = ImgJsonSerializer.class)`
* JSON使
* 使便
*/
@TableField(exist = false)
@JsonSerialize(using = ImgJsonSerializer.class)
private String pic;
/**
* `prodName` `@TableField(exist = false)`
*
*
*/
@TableField(exist = false)
private String prodName;
}
Loading…
Cancel
Save