package com.ai.da.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * Attendance
 *
 * @author easy-generator
 * @since 2022-11-13
 */
@ApiModel("template打点入参")
@Data
public class LibraryModelPointDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "libraryId.cannot.be.empty")
    @ApiModelProperty("libraryId")
    private Long libraryId;

    private String modelType;

    private String modelSex;

    @ApiModelProperty("templateId")
    private Long templateId;

    @NotEmpty(message = "shoulderLeft.cannot.be.empty")
    @ApiModelProperty("左肩 数组传类似 [0.2, 0.2]")
    private List<BigDecimal> shoulderLeft;

    @NotEmpty(message = "shoulderRight.cannot.be.empty")
    @ApiModelProperty("右肩 数组传类似 [0.2, 0.2]")
    private List<BigDecimal> shoulderRight;

    @NotEmpty(message = "waistbandLeft.cannot.be.empty")
    @ApiModelProperty("左腰 数组传类似 [0.2, 0.2]")
    private List<BigDecimal> waistbandLeft;

    @NotEmpty(message = "waistbandRight.cannot.be.empty")
    @ApiModelProperty("右腰 数组传类似 [0.2, 0.2]")
    private List<BigDecimal> waistbandRight;

    @NotEmpty(message = "handLeft.cannot.be.empty")
    @ApiModelProperty("左手 数组传类似 [0.2, 0.2]")
    private List<BigDecimal> handLeft;

    @NotEmpty(message = "handRight.cannot.be.empty")
    @ApiModelProperty("右手 数组传类似 [0.2, 0.2]")
    private List<BigDecimal> handRight;

    @NotBlank(message = "timeZone.cannot.be.empty")
    @ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
    private String timeZone;

    @NotBlank(message = "model.path.cannot.be.empty")
    @ApiModelProperty("模特路径")
    private String modelPath;

    @ApiModelProperty("是否覆盖保存还是另存为 true -> 保存，false -> 另存为")
    private Boolean isCovered;

}
