更新9.23

This commit is contained in:
许允枞 2024-09-23 13:43:59 +08:00
parent 198d7f5462
commit b9036b8725
2 changed files with 9 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@ -88,6 +89,11 @@ public class LJUser extends BaseEntity implements Serializable {
@ApiModelProperty("公众号")
private String official;
//长度只能是六位并且未数字
@ApiModelProperty("支付密码")
@Pattern(regexp = "\\d{6}", message = "支付密码必须是6位数字")
private String payPassword;
// @ApiModelProperty("加油次数")
// private BigDecimal consumeNum;
//

View File

@ -117,4 +117,7 @@ public class MtUser implements Serializable {
@TableField(exist = false)
@ApiModelProperty("最后操作人")
private String operator;
@ApiModelProperty("支付密码")
private String payPassword;
}