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;
|
|
/**
|
* <p>
|
* 分组
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2022-12-30
|
*/
|
@TableName("t_group")
|
public class TGroupVo extends Model<TGroupVo> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
private String name;
|
/**
|
* 销售id
|
*/
|
private String salesName;
|
/**
|
* 部门id
|
*/
|
private String departmentName;
|
|
public String getSalesName() {
|
return salesName;
|
}
|
|
public void setSalesName(String salesName) {
|
this.salesName = salesName;
|
}
|
|
public String getDepartmentName() {
|
return departmentName;
|
}
|
|
public void setDepartmentName(String departmentName) {
|
this.departmentName = departmentName;
|
}
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
}
|