package com.gk.hotwork.Domain; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.util.Date; import java.util.List; @TableName("risk_control_classify") public class RiskControlClassify implements Serializable { private final static long serialVersionUID = 1L; /** 主键id id **/ @TableId(type = IdType.AUTO) private Long id; /** 措施分类 name **/ private String name; /** 备注 note **/ private String note; /** 排序 order_index **/ private Integer orderIndex; /** 父类id parent_id **/ private Long parentId; /** 创建时间 create_time **/ private Date createTime; /** 创建人 create_by **/ private String createBy; /** 最后更新时间 update_time **/ private Date updateTime; /** 最后更信任 update_by **/ private String updateBy; /** 有效标识 valid_flag **/ private Boolean validFlag; /** * @Description: 子类 */ @TableField(exist = false) private List subClassify; /** 主键id id **/ public Long getId() { return id; } /** 主键id id **/ public void setId(Long id) { this.id = id; } /** 措施分类 name **/ public String getName() { return name; } /** 措施分类 name **/ public void setName(String name) { this.name = name == null ? null : name.trim(); } /** 备注 note **/ public String getNote() { return note; } /** 备注 note **/ public void setNote(String note) { this.note = note == null ? null : note.trim(); } /** 排序 order_index **/ public Integer getOrderIndex() { return orderIndex; } /** 排序 order_index **/ public void setOrderIndex(Integer orderIndex) { this.orderIndex = orderIndex; } /** 父类id parent_id **/ public Long getParentId() { return parentId; } /** 父类id parent_id **/ public void setParentId(Long parentId) { this.parentId = parentId; } /** 创建时间 create_time **/ public Date getCreateTime() { return createTime; } /** 创建时间 create_time **/ public void setCreateTime(Date createTime) { this.createTime = createTime; } /** 创建人 create_by **/ public String getCreateBy() { return createBy; } /** 创建人 create_by **/ public void setCreateBy(String createBy) { this.createBy = createBy == null ? null : createBy.trim(); } /** 最后更新时间 update_time **/ public Date getUpdateTime() { return updateTime; } /** 最后更新时间 update_time **/ public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } /** 最后更信任 update_by **/ public String getUpdateBy() { return updateBy; } /** 最后更信任 update_by **/ public void setUpdateBy(String updateBy) { this.updateBy = updateBy; } /** 有效标识 valid_flag **/ public Boolean getValidFlag() { return validFlag; } /** 有效标识 valid_flag **/ public void setValidFlag(Boolean validFlag) { this.validFlag = validFlag; } public List getSubClassify() { return subClassify; } public void setSubClassify(List subClassify) { this.subClassify = subClassify; } }