package com.xunmei.core.resumption.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xunmei.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author jingyuanchao
 * @since 2022-04-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("core_resumption_rule_point")
@ApiModel(value = "履职内容要点对象", description = "")
public class AppRulePoint extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "规范id")
    @TableField("rule_id")
    private Long ruleId;

    @ApiModelProperty(value = "检查项id")
    @TableField("item_id")
    private Long itemId;

    @ApiModelProperty(value = "检查要点")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "检查区域,区域表id")
    @TableField("area_id")
    private Long areaId;

    @TableField("business_type")
    @ApiModelProperty(value = "该要点关联的业务类型")
    private String businessType;

   @ApiModelProperty(value = "时间类型,0无，1时分")
    @TableField("remark")
    private String remark;

   @TableLogic(value = "0", delval = "1")
    @ApiModelProperty(value = "是否禁用 1是 0否")
    private int deleted;
}
