生成绑卡流水记录
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
package com.yxt.yythmall.api.vegereplenish;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author Fan
|
||||
* @description
|
||||
* @date 2024/1/21 10:49
|
||||
*/
|
||||
|
||||
@ApiModel(value = "绑卡记录", description = "绑卡记录")
|
||||
@TableName("vege_replenish")
|
||||
@Data
|
||||
public class VegeReplenish {
|
||||
|
||||
private String id;
|
||||
private String sid= UUID.randomUUID().toString();
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
|
||||
private Date createTime;
|
||||
private String remarks;
|
||||
private String customerSid;//客户sid
|
||||
private String cardCode;//卡编码,个人卡、企业卡是卡编码,转赠记录的是转赠编码
|
||||
private String cardtype;//0 个人卡 1 企业卡 2 转赠的
|
||||
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.yxt.yythmall.api.vegereplenishdetail;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author Fan
|
||||
* @description
|
||||
* @date 2024/1/21 10:49
|
||||
*/
|
||||
|
||||
@ApiModel(value = "绑卡记录商品信息", description = "绑卡记录商品信息")
|
||||
@TableName("vege_replenish_detail")
|
||||
@Data
|
||||
public class VegeReplenishDetail {
|
||||
|
||||
private String id;
|
||||
private String sid = UUID.randomUUID().toString();
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date createTime;
|
||||
private String remarks;
|
||||
private String orderSid;//订单SID
|
||||
private String goodsSid;//商品Sid
|
||||
private String goodsName;//商品名称
|
||||
private Integer goodsNumber;//商品数量
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user