Delete 'yami-shop-bean/src/main/java/com/yami/shop/bean/app/param/AddrParam.java'

main
方建军 9 months ago
parent 8e5763ffb6
commit 4de276aba6

@ -1,218 +0,0 @@
/*
* 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;
import jakarta.validation.constraints.NotNull;
/**
* @author lanhai
*
* 使
*
* 使便
*/
@Schema(description = "地址参数")
// 通过 @Schema 注解描述了这个类整体代表的是地址参数相关信息,方便在 API 文档生成(如基于 Swagger 相关技术)时能够清晰展示类的作用。
public class AddrParam {
// 以下是类的各个成员变量及对应的注释说明
/**
* ID
*
* ID ID
*/
@Schema(description = "地址ID",required=true)
private Long addrId;
/**
*
*
* @NotNull 使
* Spring
*/
@NotNull(message = "收货人不能为空")
@Schema(description = "收货人",required=true)
private String receiver;
/**
*
*
* @NotNull 便
*/
@NotNull(message = "地址不能为空")
@Schema(description = "地址",required=true)
private String addr;
/**
*
* 使使
* @Schema required=false
*/
@Schema(description = "邮编",required=false)
private String postCode;
/**
*
* @NotNull
* 便
*/
@NotNull(message = "手机不能为空")
@Schema(description = "手机",required=true)
private String mobile;
/**
* ID
*
*
*/
@NotNull(message = "省ID不能为空")
@Schema(description = "省ID",required=true)
private Long provinceId;
/**
* ID
* ID
*
*/
@NotNull(message = "城市ID不能为空")
@Schema(description = "城市ID",required=true)
private Long cityId;
/**
* ID
*
* IDID便
*/
@NotNull(message = "区ID不能为空")
@Schema(description = "区ID",required=true)
private Long areaId;
/**
*
* ID便
*
*/
@NotNull(message = "省不能为空")
@Schema(description = "省",required=true)
private String province;
/**
*
* ID
*
*/
@NotNull(message = "城市不能为空")
@Schema(description = "城市",required=true)
private String city;
/**
*
* ID使
* 便
*/
@NotNull(message = "区不能为空")
@Schema(description = "区",required=true)
private String area;
// 以下是各个成员变量的Getter和Setter方法用于获取和设置类中的属性值遵循JavaBean的规范。
public Long getAddrId() {
return addrId;
}
public void setAddrId(Long addrId) {
this.addrId = addrId;
}
public String getReceiver() {
return receiver;
}
public void setReceiver(String receiver) {
this.receiver = receiver;
}
public String getAddr() {
return addr;
}
public void setAddr(String addr) {
this.addr = addr;
}
public String getPostCode() {
return postCode;
}
public void setPostCode(String postCode) {
this.postCode = postCode;
}
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public Long getProvinceId() {
return provinceId;
}
public void setProvinceId(Long provinceId) {
this.provinceId = provinceId;
}
public Long getProvince() {
return province;
}
public void setProvince(String province) {
this.province = province;
}
public Long getCityId() {
return cityId;
}
public void setCityId(Long cityId) {
this.cityId = cityId;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public Long getAreaId() {
return areaId;
}
public void setAreaId(Long areaId) {
this.areaId = areaId;
}
public String getArea() {
return area;
}
public void setArea(String area) {
this.area = area;
}
}
Loading…
Cancel
Save