package com.bocloud.ims.entity.middleware;

import com.bocloud.entity.annotations.IgnoreAll;
import com.bocloud.entity.annotations.PK;
import com.bocloud.entity.annotations.Table;
import com.bocloud.entity.bean.Generic;
import com.bocloud.entity.meta.PKStrategy;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Table("cms_permission")
public class CmsPermission extends Generic {
    @PK(value = PKStrategy.AUTO)
    private Long id; // ID
    @IgnoreAll
    private String user;
    @IgnoreAll
    private String vhost;
    @IgnoreAll
    private String configure;
    @IgnoreAll
    private String write;
    @IgnoreAll
    private String read;
}
