package com.ruoyi.ibs.tabs.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@Builder
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
public class TabAddDTO {

    @ApiModelProperty("指标名")
    private String tabName;


    @ApiModelProperty("指标id名")
    private String tabId;

    @ApiModelProperty(value = "標簽類型  1統計 3枚舉")
    private String   tabThresholdType;

    @ApiModelProperty("指标父级id")
    private Long parentId;

    @ApiModelProperty("指标类型，0个人1商户2企业")
    private String custType;

    @ApiModelProperty("加工类型： 1手动 2周期")
    private String computType;

    @ApiModelProperty("结束时间 yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;


    @ApiModelProperty("权限类型：1自己，2制定， 3所有人  竖线分割|")
    private String authType;


    @ApiModelProperty("可见柜员号 竖线分割|")
    private String authUser;

    @ApiModelProperty("remark")
    private String remark;



    private List<TabPotAddDTO>  tabPotAddDTOS;
}
