package com.stylefeng.guns.modular.system.model;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
/**
*
* 系统设置-积分
*
*
* @author 吕雪
* @since 2020-06-09
*/
@TableName("t_sys_integral")
public class TSysIntegral extends Model {
private static final long serialVersionUID = 1L;
/**
* 主键id
*/
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* 企业id
*/
private Integer companyId;
/**
* 积分
*/
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
protected Serializable pkVal() {
return this.id;
}
@Override
public String toString() {
return "TSysIntegral{" +
"id=" + id +
", companyId=" + companyId +
", integral=" + integral +
"}";
}
}