package com.xunmei.core.resumption.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
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;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 
 * </p>
 *
 * @author jingyuanchao
 * @since 2022-04-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("core_resumption_rule_item")
@ApiModel(value="履职项对象", description="")
public class AppRuleItem extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private Long id;

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

    @ApiModelProperty(value = "检查项名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "标准及要求")
    @TableField("`desc`")
    private String desc;
}
