Update ShopDetailParam.java

cyj
pbvfus8to 8 months ago
parent d81c5bdead
commit 667014ca80

@ -8,215 +8,301 @@
*
*/
// 该类所属的包名表明其位于商城相关的Java Bean的参数param包下主要用于封装与店铺详情相关的参数信息这些参数通常是前端传递给后端以便后端进行店铺详情相关的业务处理操作例如店铺信息的新增、修改等功能。
package com.yami.shop.bean.param;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
/**
* ShopDetailParamJava Bean使Jakarta Validation
* GetterSetter便便使
*
* @author lanhai
*/
public class ShopDetailParam {
private Long shopId;
// 店铺的唯一标识符在整个系统中用于区分不同的店铺在涉及店铺相关的数据库操作如查询、更新、删除等以及业务逻辑处理时依靠这个ID来精准定位到具体的店铺实体。
private Long shopId;
/**
* (())
* @NotBlank
* @Size50
*/
@NotBlank(message="店铺名称不能为空")
@Size(max = 50,message = "商品名称长度应该小于{max}")
@NotBlank(message = "店铺名称不能为空")
@Size(max = 50, message = "商品名称长度应该小于{max}")
private String shopName;
/**
* ()
* @Size200
*/
@Size(max = 200,message = "店铺简介长度应该小于{max}")
@Size(max = 200, message = "店铺简介长度应该小于{max}")
private String intro;
/**
* ()
* @Size50便
*/
@Size(max = 50,message = "店铺公告长度应该小于{max}")
@Size(max = 50, message = "店铺公告长度应该小于{max}")
private String shopNotice;
/**
*
* @NotBlank@Size20便
*/
@NotBlank(message="店铺联系电话不能为空")
@Size(max = 20,message = "店铺公告长度应该小于{max}")
@NotBlank(message = "店铺联系电话不能为空")
@Size(max = 20, message = "店铺公告长度应该小于{max}")
private String tel;
/**
*
* @NotBlank@Size100便便
*/
@NotBlank(message="店铺详细地址不能为空")
@Size(max = 100,message = "店铺公告长度应该小于{max}")
@NotBlank(message = "店铺详细地址不能为空")
@Size(max = 100, message = "店铺公告长度应该小于{max}")
private String shopAddress;
/**
*
* @NotBlank10便
*/
@NotBlank(message="店铺所在省份不能为空")
@Size(max = 10,message = "店铺所在省份长度应该小于{max}")
@NotBlank(message = "店铺所在省份不能为空")
@Size(max = 10, message = "店铺所在省份长度应该小于{max}")
private String province;
/**
*
* @NotBlank10
*/
@NotBlank(message="店铺所在城市不能为空")
@Size(max = 10,message = "店铺所在城市长度应该小于{max}")
@NotBlank(message = "店铺所在城市不能为空")
@Size(max = 10, message = "店铺所在城市长度应该小于{max}")
private String city;
/**
*
* @NotBlank@Size10便
*/
@NotBlank(message="店铺所在区域不能为空")
@Size(max = 10,message = "店铺所在省份区域长度应该小于{max}")
@NotBlank(message = "店铺所在区域不能为空")
@Size(max = 10, message = "店铺所在省份区域长度应该小于{max}")
private String area;
/**
*
* 使@NotBlank20@Size
*/
@NotBlank(message="店铺省市区代码不能为空")
@Size(max = 20,message = "店铺省市区代码长度应该小于{max}")
@NotBlank(message = "店铺省市区代码不能为空")
@Size(max = 20, message = "店铺省市区代码长度应该小于{max}")
private String pcaCode;
/**
* logo()
* logo@NotBlank@Size200Base64logo
*/
@NotBlank(message="店铺logo不能为空")
@Size(max = 200,message = "店铺logo长度应该小于{max}")
@NotBlank(message = "店铺logo不能为空")
@Size(max = 200, message = "店铺logo长度应该小于{max}")
private String shopLogo;
/**
*
* @Size1000便
*/
@Size(max = 1000,message = "店铺相册长度应该小于{max}")
@Size(max = 1000, message = "店铺相册长度应该小于{max}")
private String shopPhotos;
/**
* ()
* @NotBlank@Size100便
*/
@NotBlank(message="每天营业时间段不能为空")
@Size(max = 100,message = "每天营业时间段长度应该小于{max}")
@NotBlank(message = "每天营业时间段不能为空")
@Size(max = 100, message = "每天营业时间段长度应该小于{max}")
private String openTime;
/**
* (-1: 0: 1:)
/**
* -101便
*/
private Integer shopStatus;
public String getShopName() {
return shopName;
}
public void setShopName(String shopName) {
this.shopName = shopName;
}
/**
* Getter便使
*/
public String getShopName() {
return shopName;
}
public String getIntro() {
return intro;
}
/**
* SettershopName便使
*/
public void setShopName(String shopName) {
this.shopName = shopName;
}
public void setIntro(String intro) {
this.intro = intro;
}
/**
* Getter
*/
public String getIntro() {
return intro;
}
public String getShopNotice() {
return shopNotice;
}
/**
* Setterintro便使
*/
public void setIntro(String intro) {
this.intro = intro;
}
public void setShopNotice(String shopNotice) {
this.shopNotice = shopNotice;
}
/**
* Getter便
*/
public String getShopNotice() {
return shopNotice;
}
public String getTel() {
return tel;
}
/**
* SettershopNotice便使
*/
public void setShopNotice(String shopNotice) {
this.shopNotice = shopNotice;
}
public void setTel(String tel) {
this.tel = tel;
}
/**
* Getter
*/
public String getTel() {
return tel;
}
public String getShopAddress() {
return shopAddress;
}
/**
* Settertel便使
*/
public void setTel(String tel) {
this.tel = tel;
}
public void setShopAddress(String shopAddress) {
this.shopAddress = shopAddress;
}
/**
* Getter便
*/
public String getShopAddress() {
return shopAddress;
}
public String getProvince() {
return province;
}
/**
* SettershopAddress便使
*/
public void setShopAddress(String shopAddress) {
this.shopAddress = shopAddress;
}
public void setProvince(String province) {
this.province = province;
}
/**
* Getter
*/
public String getProvince() {
return province;
}
public String getCity() {
return city;
}
/**
* Setterprovince便使
*/
public void setProvince(String province) {
this.province = province;
}
public void setCity(String city) {
this.city = city;
}
/**
* Getter便
*/
public String getCity() {
return city;
}
public String getArea() {
return area;
}
/**
* Settercity便使
*/
public void setCity(String city) {
this.city = city;
}
public void setArea(String area) {
this.area = area;
}
/**
* Getter
*/
public String getArea() {
return area;
}
public String getPcaCode() {
return pcaCode;
}
/**
* Setterarea便使
*/
public void setArea(String area) {
this.area = area;
}
public void setPcaCode(String pcaCode) {
this.pcaCode = pcaCode;
}
/**
* Getter便
*/
public String getPcaCode() {
return pcaCode;
}
public String getShopLogo() {
return shopLogo;
}
/**
* SetterpcaCode便使
*/
public void setPcaCode(String pcaCode) {
this.pcaCode = pcaCode;
}
public void setShopLogo(String shopLogo) {
this.shopLogo = shopLogo;
}
/**
* logoGetterlogologologo
*/
public String getShopLogo() {
return shopLogo;
}
public String getShopPhotos() {
return shopPhotos;
}
/**
* logoSetterlogoshopLogologologo便使
*/
public void setShopLogo(String shopLogo) {
this.shopLogo = shopLogo;
}
public void setShopPhotos(String shopPhotos) {
this.shopPhotos = shopPhotos;
}
/**
* Getter便
*/
public String getShopPhotos() {
return shopPhotos;
}
public String getOpenTime() {
return openTime;
}
/**
* SettershopPhotos便使
*/
public void setShopPhotos(String shopPhotos) {
this.shopPhotos = shopPhotos;
}
public void setOpenTime(String openTime) {
this.openTime = openTime;
}
/**
* Getter
*/
public String getOpenTime() {
return openTime;
}
public Integer getShopStatus() {
return shopStatus;
}
/**
* SetteropenTime便使
*/
public void setOpenTime(String openTime) {
this.openTime = openTime;
}
public void setShopStatus(Integer shopStatus) {
this.shopStatus = shopStatus;
}
/**
* Getter便
*/
public Integer getShopStatus() {
return shopStatus;
}
public Long getShopId() {
return shopId;
}
/**
* SettershopStatus便
*/
public void setShopStatus(Integer shopStatus) {
this.shopStatus = shopStatus;
}
public void setShopId(Long shopId) {
this.shopId = shopId;
}
/**
* IDGetterIDID
*/
public Long getShopId() {
return shopId;
}
}
/**
* IDSetterIDshopIdIDID便使
*/
public void setShopId(Long shopId) {
this.shopId = shop
Loading…
Cancel
Save