package com.ssm.manage.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ssm.manage.page.BasePage;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Setter
@Getter
@ToString
public class StoreMonthTaskRequest extends BasePage {
    /**
     * 主键ID
     */
    @Id
    private Long id;

    /**
     * 门店编码
     */
    @Column(name = "store_id")
    private Long storeId;

    /**
     * 门店名称
     */
    @Column(name = "store_name")
    private String storeName;

    /**
     * 充值任务
     */
    @Column(name = "recharge_task")
    private BigDecimal rechargeTask;

    /**
     * 疗程任务
     */
    @Column(name = "course_task")
    private BigDecimal courseTask;

    /**
     * 服务任务
     */
    @Column(name = "store_cash_task")
    private BigDecimal storeCashTask;

//    /**
//     * 设置时间
//     */
//    @DateTimeFormat(pattern = "yyyy-MM")
//    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
//    private Date date;

    /**
     * 0:未启用/1:启用
     */
    private Integer state;

    private String date;

    List<Long> storeIdl;

}
