package com.hotwj.platform.resourceManagement.company.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_company_role")
public class SysCompanyRole extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;

    private Long companyId;

    private String roleName;

    private String roleKey;

    private Integer roleSort;

    private String status;

    private String remark;

    private Long creatorUserId;

    @TableLogic
    private Long isDeleted;
}

