package com.cool.store.entity;

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

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

@Data
@Table(name = "xfsg_franchise_fee")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FranchiseFeeDO {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    @Column(name = "shop_id")
    private Long shopId;
    @Column(name = "pay_id")
    private Long payId;
    @Column(name = "audit_id")
    private Long auditId;
    @Column(name = "year_franchise_fee")
    private String yearFranchiseFee;
    @Column(name = "loan_margin")
    private String loanMargin;
    @Column(name = "first_year_start_time")
    private Date firstYearStartTime;
    @Column(name = "first_year_end_time")
    private Date firstYearEndTime;
    @Column(name = "first_year_fee")
    private String  firstYearFee;
    @Column(name = "second_year_start_time")
    private Date secondYearStartTime;
    @Column(name = "second_year_end_time")
    private Date secondYearEndTime;
    @Column(name = "second_year_fee")
    private String secondYearFee;
    @Column(name = "third_year_start_time")
    private Date thirdYearStartTime;
    @Column(name = "third_year_end_time")
    private Date thirdYearEndTime;
    @Column(name = "third_year_fee")
    private String thirdYearFee;
    @Column(name = "performance_bond")
    private String performanceBond;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "update_time")
    private Date updateTime;

}
