com.gccloud.starter.common.entity.SysRoleGroupEntity Maven / Gradle / Ivy
package com.gccloud.starter.common.entity;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
/**
* 角色组
*/
@Data
@Accessors(chain = true)
@TableName(value = "gc_role_group", autoResultMap = true)
@ApiModel
@ToString(callSuper = true)
public class SysRoleGroupEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableId
@ApiModelProperty(notes = "主键")
private String id;
@ApiModelProperty(notes = "角色组名称")
private String name;
@ApiModelProperty(notes = "角色组编码")
@TableField(updateStrategy = FieldStrategy.NEVER)
private String code;
@ApiModelProperty(notes = "数据类型(0:未设置,1: 全部数据,3: 自定义数据,4: 本部门数据, 5: 本公司数据,6: 本部门和本公司数据)")
private String dpType;
@ApiModelProperty(notes = "角色排序")
private Integer orderNum;
@ApiModelProperty(notes = "备注")
private String remark;
@TableField(fill = FieldFill.INSERT)
@ApiModelProperty(notes = "所属租户id")
private String tenantId;
@TableField(fill = FieldFill.INSERT)
@ApiModelProperty(notes = "创建用户ID")
private String createBy;
@TableField(fill = FieldFill.INSERT)
@ApiModelProperty(notes = "创建时间")
private Date createDate;
@TableField(fill = FieldFill.INSERT_UPDATE)
@ApiModelProperty(notes = "更新用户ID")
private String updateBy;
@TableField(fill = FieldFill.INSERT_UPDATE)
@ApiModelProperty(notes = "更新时间")
private Date updateDate;
@TableLogic(delval = "1", value = "0")
@ApiModelProperty(notes = "删除标识(0:正常,1:删除)", hidden = true)
private Integer delFlag = 0;
}