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;
|
|
/**
|
* 系统积分设置
|
*/
|
@TableName("t_sys_integral")
|
public class SysIntegral {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
/**
|
* 企业id
|
*/
|
@TableField("companyId")
|
private Integer companyId;
|
/**
|
* 积分
|
*/
|
@TableField("integral")
|
private Integer integral;
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getCompanyId() {
|
return companyId;
|
}
|
|
public void setCompanyId(Integer companyId) {
|
this.companyId = companyId;
|
}
|
|
public Integer getIntegral() {
|
return integral;
|
}
|
|
public void setIntegral(Integer integral) {
|
this.integral = integral;
|
}
|
|
@Override
|
public String toString() {
|
return "SysIntegral{" +
|
"id=" + id +
|
", companyId=" + companyId +
|
", integral=" + integral +
|
'}';
|
}
|
}
|