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 java.io.Serializable;
|
|
@TableName("t_sys_withdrawal_poundage")
|
public class SysWithdrawalPoundage extends Model<SysWithdrawalPoundage> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
/**
|
* 百分比
|
*/
|
@TableField("percentage")
|
private Double percentage;
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Double getPercentage() {
|
return percentage;
|
}
|
|
public void setPercentage(Double percentage) {
|
this.percentage = percentage;
|
}
|
|
@Override
|
public String toString() {
|
return "SysWithdrawalPoundage{" +
|
"id=" + id +
|
", percentage=" + percentage +
|
'}';
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
}
|