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;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2021-04-16
|
*/
|
@TableName("app_withdrawal_rule")
|
public class AppWithdrawalRule extends Model<AppWithdrawalRule> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
private Integer weeks;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getWeeks() {
|
return weeks;
|
}
|
|
public void setWeeks(Integer weeks) {
|
this.weeks = weeks;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "AppWithdrawalRule{" +
|
"id=" + id +
|
", weeks=" + weeks +
|
"}";
|
}
|
}
|