package com.cool.store.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "xfsg_sign_franchise")
public class SignFranchiseDO {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    @Column(name = "shop_id")
    private Long shopId;
    @Column(name = "audit_id")
    private Long auditId;
    @Column(name = "sign_type")
    private Integer signType;
    @Column(name = "brand_fee")
    private String brandFee;
    @Column(name = "is_business_license")
    private Integer isBusinessLicense;
    @Column(name = "is_food_license")
    private Integer isFoodLicense;
    @Column(name = "contract_start_time")
    private Date contractStartTime;
    @Column(name = "contract_end_time")
    private Date contractEndTime;
    @Column(name = "impression_num")
    private String impressionNum;
    @Column(name = "business_start_hours")
    private Date businessStartHours;
    @Column(name = "business_end_hours")
    private Date businessEndHours;
    @Column(name = "irregular_reason")
    private String irregularReason;
    @Column(name = "remark")
    private String remark;
    @Column(name = "resign")
    private Integer resign;
    @Column(name = "mobile")
    private String mobile;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "update_time")
    private Date updateTime;
    @Column(name = "contract_code")
    private String contractCode;
    @Column(name = "contract_amount")
    private String contractAmount;
    @Column(name = "partnership_signatory_first")
    private String partnershipSignatoryFirst;
    @Column(name = "partnership_signatory_second")
    private String partnershipSignatorySecond;
    @Column(name = "business_model")
    private Integer businessModel;
    //签约人2身份证号
    @Column(name = "partnership_signatory_second_id_number")
    private String partnershipSignatorySecondIdNumber;
    //签约人2手机号
    @Column(name = "partnership_signatory_second_mobile")
    private String partnershipSignatorySecondMobile;
    //'保护距离 / m'
    @Column(name = "protective_distance")
    private Integer protectiveDistance;
    //介绍人
    @Column(name = "introducer")
    private String introducer;
    //介绍门店
    @Column(name = "introduce_store")
    private String introduceStore;
    //介绍奖
    @Column(name = "introduction_award")
    private String introductionAward;
    //签约人1第几家分店
    @Column(name = "partnership_signatory_first_which_store")
    private Integer partnershipSignatoryFirstWhichStore;
    //是否统管 ： 1-统管，0-不统管',
    @Column(name = "unified_management")
    private Integer unifiedManagement;
}
