package com.cool.store.entity;

import lombok.Data;

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

@Data
@Table(name = "xfsg_shop_rent_info")
public class ShopRentInfoDO {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

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

    /**
     * 店铺id 
     */
    @Column(name = "point_id")
    private Long pointId;

    /**
     * 租赁类型 1铺位直租 2自有铺位
     */
    @Column(name = "rent_type")
    private Integer rentType;

    /**
     * 签约日期
     */
    @Column(name = "sign_time")
    private Date signTime;

    /**
     * 合同开始日期
     */
    @Column(name = "contract_start_time")
    private Date contractStartTime;

    /**
     * 合同结束日期
     */
    @Column(name = "contract_end_time")
    private Date contractEndTime;

    /**
     * 签约年限
     */
    @Column(name = "contract_months")
    private Integer contractMonths;

    /**
     * 店铺租金 1固定租金 2非固定租金
     */
    @Column(name = "shop_rent_type")
    private Integer shopRentType;

    /**
     * 月租金
     */
    @Column(name = "month_rent")
    private String monthRent;

    /**
     * 第一年月租金
     */
    @Column(name = "first_year_month_rent")
    private String firstYearMonthRent;

    /**
     * 第二年月租金
     */
    @Column(name = "second_year_month_rent")
    private String secondYearMonthRent;

    /**
     * 第三年月租金
     */
    @Column(name = "third_year_month_rent")
    private String thirdYearMonthRent;

    /**
     * 合同图片
     */
    @Column(name = "contract_pic")
    private String contractPic;

    /**
     * 房产证明
     */
    @Column(name = "house_certificate_pic")
    private String houseCertificatePic;

    /**
     * 审核id
     */
    @Column(name = "audit_id")
    private Long auditId;

    /**
     * 删除标识
     */
    private Boolean deleted;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;

}