FangJianJun_branch
方建军 10 months ago
parent 5a93c224e6
commit 6099d4e75d

@ -0,0 +1,62 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.enums;
/**
* `MessageStatus`
* 便
* 使
* @author lanhai
*/
public enum MessageStatus {
/**
* `CANCEL` `0`
*
* `CANCEL`
* 便
*/
CANCEL(0),
/**
* `RELEASE` `1`
*
* `RELEASE`
*
*/
RELEASE(1);
/**
* `num`
*
* 使便
*/
private Integer num;
/**
* `value`访 `num`
* `MessageStatus`
* 访
*/
public Integer value() {
return num;
}
/**
* `CANCEL(0)` `RELEASE(1)`
* `num`
* 便 `value`
*/
MessageStatus(Integer num) {
this.num = num;
}
}

@ -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;
}
}
Loading…
Cancel
Save