package com.cool.store.entity;

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

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

@Table(name = "xfsg_license_transact")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LicenseTransactDO {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    @Column(name = "shop_id")
    private Long shopId;
    @Column(name = "business_license")
    private String businessLicense;
    @Column(name = "license_type")
    private Integer licenseType;
    @Column(name = "license_legal_person")
    private String licenseLegalPerson;
    @Column(name = "credit_code")
    private String creditCode;
    @Column(name = "credit_url")
    private String creditUrl;
    @Column(name = "license_address")
    private String licenseAddress;
    @Column(name = "issueTime")
    private Date issueTime;
    @Column(name = "validity")
    private Date validity;
    @Column(name = "id_card_positive_credit_url")
    private String idCardPositiveCreditUrl;
    @Column(name = "id_card_negative_credit_url")
    private String idCardNegativeCreditUrl;
    @Column(name = "food_business_license_code")
    private String foodBusinessLicenseCode;
    @Column(name = "main_business")
    private String mainBusiness;
    @Column(name = "operator")
    private String operator;
    @Column(name = "food_license_legal_person")
    private String foodLicenseLegalPerson;
    @Column(name = "business_project")
    private String businessProject;
    @Column(name = "food_license_address")
    private String foodLicenseAddress;
    @Column(name = "food_business_start_time")
    private Date foodBusinessStartTime;
    @Column(name = "food_business_end_time")
    private Date foodBusinessEndTime;
    @Column(name = "food_business_license_url")
    private String foodBusinessLicenseUrl;
    @Column(name = "food_license_remark")
    private String foodLicenseRemark;
    @Column(name = "remark_url")
    private String remarkUrl;
    @Column(name = "business_license_remark")
    private String businessLicenseRemark;
    @Column(name = "submit_status")
    private Integer submitStatus;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "update_time")
    private Date updateTime;
    @Column(name = "deleted")
    private Integer deleted;



}
