package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.activerecord.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.io.Serializable;
|
|
/**
|
* 系统设置-支付模式
|
*/
|
@TableName("t_sys_payment_mode")
|
@Data
|
public class TSysPaymentMode extends Model<TSysPaymentMode> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 专车支付模式:1=先付,2=后付
|
*/
|
@TableField("private_type")
|
private Integer privateType;
|
|
/**
|
* 出租车支付模式:1=先付,2=后付
|
*/
|
@TableField("taxi_type")
|
private Integer taxiType;
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
}
|