package com.cool.store.dto;

import com.alibaba.excel.util.CollectionUtils;
import com.cool.store.entity.TallyBookDO;
import com.cool.store.entity.TallyBookDetailDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class TallyBookDTO {

    private Long id;

    @ApiModelProperty(value = "加盟商ID")
    @NotNull(message = "加盟商ID不能为空")
    @Size(max = 64, message = "加盟商ID长度不能超过64个字符")
    private String partnerId;

    @ApiModelProperty(value = "店铺ID")
    @NotNull(message = "店铺ID不能为空")
    private Long shopId;

    @ApiModelProperty(value = "年")
    @NotNull(message = "年不能为空")
    private Integer year;

    @ApiModelProperty(value = "月")
    @NotNull(message = "月不能为空")
    private Integer month;

    @ApiModelProperty(value = "成本合计")
    private BigDecimal total;

    @ApiModelProperty(value =  "提交时间")
    private Date updateTime;

    @ApiModelProperty(value = "0,未提交 1,已提交);")
    private Integer status;

    @ApiModelProperty("操作人")
    private String operatorName;

}