package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* 用户-打车卡关系数据
|
* @author pzb
|
* @Date 2022/2/8 16:18
|
*/
|
@Data
|
@TableName("t_user_taxi_card")
|
public class UserTaxiCard {
|
//主键
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
//用户id
|
@TableField("userId")
|
private Integer userId;
|
//打车卡id
|
@TableField("taxiCardId")
|
private Integer taxiCardId;
|
//有效开始时间
|
@TableField("startTime")
|
private Date startTime;
|
//有效结束时间
|
@TableField("endTime")
|
private Date endTime;
|
//打车卡类型1=打折次数卡,2=优惠卡,3=次数卡,4=打折天数卡,5=物流打折卡)
|
@TableField("type")
|
private Integer type;
|
//开通城市id
|
@TableField("companyCityId")
|
private String companyCityId;
|
//规则JSON字符串
|
@TableField("content")
|
private String content;
|
//所属企业
|
@TableField("companyId")
|
private Integer companyId;
|
}
|