package com.cool.store.request.tp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 奖惩申请Request
 * </p>
 *
 * @author wangff
 * @since 2025/11/5
 */
@Data
public class TpApplyRequest {
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("门店id")
    @NotNull(message = "门店id不能为空")
    private String storeId;

    @ApiModelProperty("规则id")
    @NotNull(message = "规则id不能为空")
    private Long ruleId;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("是否为草稿 0否 1是")
    @NotNull(message = "是否为草稿不能为空")
    private Integer isDraft;

    @ApiModelProperty(value = "来源，0非小程序 1小程序", hidden = true)
    private Integer source;

    @ApiModelProperty(value = "申请人(创建人)id", hidden = true)
    private String applyUserId;

    @ApiModelProperty(value = "申请人(创建人)名称", hidden = true)
    private String applyUserName;

    @ApiModelProperty("证明图片列表，逗号隔开")
    private String proofUrls;

    @ApiModelProperty("分值")
    private BigDecimal score;

    @ApiModelProperty("金额")
    private BigDecimal amount;

    @ApiModelProperty("申请复议截止日期，yyyy-MM-dd HH:mm:ss")
    private Date appealEndDate;
}
