This commit is contained in:
张良(004796)
2024-01-03 18:30:13 +08:00
parent 1641b5f871
commit b22b4fba48
20 changed files with 393 additions and 65 deletions

View File

@@ -1,6 +1,7 @@
package com.ruoyi.cai.domain;
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 lombok.Data;
@@ -24,7 +25,7 @@ public class MemberPrice implements Serializable {
*
*/
@TableId(value = "id",type = IdType.AUTO)
private Integer id;
private Long id;
/**
* 类型 0 普通 1 超级
*/
@@ -44,6 +45,7 @@ public class MemberPrice implements Serializable {
/**
* 描述
*/
@TableField(value = "`desc`")
private String desc;
/**
* 有效期(天)

View File

@@ -28,7 +28,7 @@ public class UserMember implements Serializable {
/**
* 用户ID
*/
private Integer userId;
private Long userId;
/**
* MID
*/
@@ -38,7 +38,7 @@ public class UserMember implements Serializable {
*/
private Integer memberType;
/**
* 过期时间
* 过期时间(天)
*/
private Integer expire;
/**
@@ -52,7 +52,7 @@ public class UserMember implements Serializable {
/**
* 状态 0-可用,1-过期,2-不可用
*/
private Integer status;
private Integer memberStatus;
/**
* 永久状态 0-不是 1-是
*/

View File

@@ -38,6 +38,10 @@ public class VipOrder implements Serializable {
* VIP名称
*/
private String vipName;
/**
* vip类型
*/
private Integer vipType;
/**
* VIP时长
*/
@@ -81,4 +85,6 @@ public class VipOrder implements Serializable {
private LocalDateTime createTime;
private Long adminId;
}