package com.cool.store.entity;

import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
/**
 * 加盟问卷信息
 */
@Table(name = "xfsg_member_question_info")
public class MemberQuestionDO {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "audit_id")
    private Long auditId;

    @Column(name = "partner_id", nullable = false)
    private String partnerId;

    @Column(name = "line_id", nullable = false)
    private Long lineId;

    @Column(name = "join_type")
    private Integer joinType;

    @Column(name = "create_time", nullable = false, columnDefinition = "datetime default current_timestamp")
    private Date createTime;

    @Column(name = "update_time", nullable = false, columnDefinition = "datetime default current_timestamp on update current_timestamp")
    private Date updateTime;

    @Column(name = "career_status")
    private Integer careerStatus;

    @Column(name = "education_level")
    private Integer educationLevel;

    @Column(name = "annual_income")
    private String annualIncome;

    @Column(name = "has_partner")
    private Integer hasPartner;

    @Column(name = "capital_source")
    private Integer capitalSource;

    @Column(name = "business_mode")
    private Integer businessMode;

    @Column(name = "join_experience")
    private Integer joinExperience;

    @Column(name = "fruit_industry_experience")
    private Integer fruitIndustryExperience;

    @Column(name = "store_condition")
    private String storeCondition;

    @Column(name = "payback_period")
    private String paybackPeriod;

    @Column(name = "follows_management_standard")
    private Integer followsManagementStandard;

    @Column(name = "can_training")
    private Integer canTraining;

    @Column(name = "deleted", nullable = false, columnDefinition = "tinyint default '0'")
    private Boolean deleted;

}

