Commit ced29ffd by 吕明尚

实体类增加表命

parent 300b1541
......@@ -38,7 +38,7 @@ public class MonthlyCardConfController extends BaseController {
/**
* 查询月卡配置列表
*/
@GetMapping("/list")
@GetMapping("/query")
public R<List<MonthlyCardConf>> query() {
return R.ok(monthlyCardConfService.selectMonthlyCardConfList(null));
}
......
package share.system.domain;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
......@@ -16,6 +17,7 @@ import java.util.Date;
* @date 2024-08-27
*/
@Data
@TableName(value = "s_consumer_monthly_card")
public class ConsumerMonthlyCard extends BaseEntity {
private static final long serialVersionUID = 1L;
......
......@@ -2,6 +2,7 @@ package share.system.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
......@@ -18,6 +19,7 @@ import java.util.Date;
* @date 2024-08-22
*/
@Data
@TableName(value = "s_consumer_secondary_card")
public class ConsumerSecondaryCard extends BaseEntity {
private static final long serialVersionUID = 1L;
......
......@@ -2,6 +2,7 @@ package share.system.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
......@@ -17,6 +18,7 @@ import java.math.BigDecimal;
* @date 2024-08-27
*/
@Data
@TableName(value = "s_monthly_card_conf")
public class MonthlyCardConf extends BaseEntity {
private static final long serialVersionUID = 1L;
......
......@@ -2,6 +2,7 @@ package share.system.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
......@@ -15,6 +16,7 @@ import share.common.core.domain.BaseEntity;
* @date 2024-08-27
*/
@Data
@TableName(value = "s_monthly_card_log")
public class MonthlyCardLog extends BaseEntity {
private static final long serialVersionUID = 1L;
......
package share.system.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
......@@ -19,12 +18,14 @@ import java.util.Date;
* @date 2024-08-27
*/
@Data
@TableName(value = "s_monthly_card_order")
public class MonthlyCardOrder extends BaseEntity {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(type = IdType.AUTO)
private Long id;
/**
......
......@@ -2,6 +2,7 @@ package share.system.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
......@@ -17,6 +18,7 @@ import java.math.BigDecimal;
* @date 2024-08-22
*/
@Data
@TableName(value = "s_secondary_card_conf")
public class SecondaryCardConf extends BaseEntity {
private static final long serialVersionUID = 1L;
......
......@@ -2,6 +2,7 @@ package share.system.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
......@@ -15,6 +16,7 @@ import share.common.core.domain.BaseEntity;
* @date 2024-08-22
*/
@Data
@TableName("s_secondary_card_log")
public class SecondaryCardLog extends BaseEntity {
private static final long serialVersionUID = 1L;
......
package share.system.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
......@@ -19,12 +18,14 @@ import java.util.Date;
* @date 2024-08-22
*/
@Data
@TableName("s_secondary_card_order")
public class SecondaryCardOrder extends BaseEntity {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(type = IdType.AUTO)
private Long id;
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment