package com.crm.rely.backend.core.pojo.table;

import com.crm.rely.backend.core.pojo.BaseTable;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @ClassName FollowDealScorePeriodTable
 * @Description
 * @Author y
 * @Date 2024/1/24 13:06
 */
@Data
@Entity
@Table(name = "follow_deal_score_period")
public class FollowDealScorePeriodTable extends BaseTable {
    /**
     * 周期类型
     * 1：总周期
     * 2：周
     * 3：月
     */
    private Integer periodType;
    /**
     * 周期序列
     */
    private Integer periodSerial;
    /**
     * 周期开始时间
     */
    private Date startTime;
    /**
     * 周期结束时间
     */
    private Date endTime;

    public static FollowDealScorePeriodTable getInstance(){
        FollowDealScorePeriodTable table = new FollowDealScorePeriodTable();
        table.setAddTime(new Date());
        return table;
    }


}
