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 2022-05-20
|
*/
|
@TableName("tb_spell_order_rule")
|
public class TbSpellOrderRule extends Model<TbSpellOrderRule> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 公司id
|
*/
|
private Integer companyId;
|
/**
|
* 规则每个输入框为一个参数{"num1":1,"num2":2.3}
|
*/
|
private String content;
|
|
|
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 String getContent() {
|
return content;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TbSpellOrderRule{" +
|
"id=" + id +
|
", companyId=" + companyId +
|
", content=" + content +
|
"}";
|
}
|
}
|