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

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

import java.io.Serial;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_company_permission_grant")
public class HotCompanyPermissionGrant extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

    private Long companyId;

    private Long grantorManagerId;

    private Long grantorUserId;

    private Long granteeManagerId;

    private Long granteeUserId;

    private String permissionCode;

    private Long menuId;

    private Long status;

    private Date effectiveTime;

    private Date expireTime;

    private String remark;

    private Long isDeleted;
}
