init
This commit is contained in:
@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -17,6 +18,7 @@ import java.math.BigDecimal;
|
||||
*/
|
||||
@Data
|
||||
@TableName("cai_member_price")
|
||||
@Schema(description = "会员价格信息")
|
||||
public class MemberPrice implements Serializable {
|
||||
|
||||
private static final long serialVersionUID=1L;
|
||||
@@ -25,6 +27,7 @@ public class MemberPrice implements Serializable {
|
||||
*
|
||||
*/
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
@Schema(description = "会员价格ID")
|
||||
private Long id;
|
||||
/**
|
||||
* 类型 0 普通 1 超级
|
||||
@@ -33,19 +36,23 @@ public class MemberPrice implements Serializable {
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
@Schema(description = "会员价格ID")
|
||||
private String name;
|
||||
/**
|
||||
* 价格
|
||||
*/
|
||||
@Schema(description = "会员价格")
|
||||
private BigDecimal price;
|
||||
/**
|
||||
* 图片地址
|
||||
*/
|
||||
@Schema(description = "会员价格图片")
|
||||
private String img;
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
@TableField(value = "`desc`")
|
||||
@Schema(description = "会员描述")
|
||||
private String desc;
|
||||
/**
|
||||
* 有效期(天)
|
||||
|
||||
@@ -127,11 +127,11 @@ public class User implements Serializable {
|
||||
*/
|
||||
private Integer isAnchor;
|
||||
/**
|
||||
* 类型 0 关闭 1 打开
|
||||
* 隐藏排行榜模式 0-关闭 1-打开
|
||||
*/
|
||||
private Integer rankHide;
|
||||
/**
|
||||
* 类型 0 关闭 1 打开
|
||||
* 隐身模式 0-关闭 1-打开
|
||||
*/
|
||||
private Integer noGreet;
|
||||
/**
|
||||
|
||||
@@ -41,14 +41,6 @@ public class UserMember implements Serializable {
|
||||
* 过期时间(天)
|
||||
*/
|
||||
private Integer expire;
|
||||
/**
|
||||
* 隐藏排行榜模式 0-关闭 1-打开
|
||||
*/
|
||||
private Integer rankHide;
|
||||
/**
|
||||
* 隐身模式 0-关闭 1-打开
|
||||
*/
|
||||
private Integer noGreet;
|
||||
/**
|
||||
* 状态 0-可用,1-过期,2-不可用
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user