更新9.23
This commit is contained in:
parent
198d7f5462
commit
b9036b8725
@ -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;
|
||||
//
|
||||
|
@ -117,4 +117,7 @@ public class MtUser implements Serializable {
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("支付密码")
|
||||
private String payPassword;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user