package com.cool.store.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "xfsg_assessment_data")
public class AssessmentDataDO {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * xfsg_assessment_template.id
     */
    @Column(name = "template_id")
    private Long templateId;

    /**
     *  xfsg_shop_info id
     */
    @Column(name = "shop_id")
    private Long shopId;

    /**
     * 考核人
     */
    @Column(name = "assessment_user_id")
    private String assessmentUserId;

    /**
     * 店铺是否合格
     */
    private Boolean qualified;

    /**
     * 评分
     */
    private Long score;

    /**
     * 原因
     */
    private String reason;

    /**
     * 评语
     */
    private String comments;

    private String picture;

    private String video;

}