package com.cool.store.request.store;

import com.cool.store.common.InsertGroup;
import com.cool.store.common.UpdateGroup;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 店型新增/编辑请求
 */
@Data
public class StoreTypeUpdateRequest {
    @ApiModelProperty("主键ID")
    @NotNull(message = "ID不能为空", groups = UpdateGroup.class)
    private Long id;

    @ApiModelProperty("店型名称")
    @NotBlank(message = "店型名称不能为空", groups = {InsertGroup.class, UpdateGroup.class})
    private String storeTypeName;

    @ApiModelProperty("品牌")
    private String brand;

    @ApiModelProperty("门店类型")
    private Integer storeType;

    @ApiModelProperty("店型描述")
    private String description;

    @ApiModelProperty("主图")
    private String imageUrl;

    @ApiModelProperty("视频")
    private String videoUrl;

    @ApiModelProperty("VR视频")
    private String vrVideoUrl;

    @ApiModelProperty("加盟费-折扣后金额")
    private BigDecimal franchiseFee;

    @ApiModelProperty("原加盟费")
    private BigDecimal originalFranchiseFee;

    @ApiModelProperty("品牌使用费-折扣后金额")
    private BigDecimal brandUsageFee;

    @ApiModelProperty("原品牌使用费")
    private BigDecimal originalBrandUsageFee;

    @ApiModelProperty("管理费-折扣后金额")
    private BigDecimal managementFee;

    @ApiModelProperty("原管理费")
    private BigDecimal originalManagementFee;

    @ApiModelProperty("系统使用费")
    private BigDecimal systemUsageFee;

    @ApiModelProperty("原系统使用费")
    private BigDecimal originalSystemUsageFee;

    @ApiModelProperty("合同保证金")
    private BigDecimal contractDeposit;

    @ApiModelProperty("原合同保证金")
    private BigDecimal originalContractDeposit;

    @ApiModelProperty("设备保证金")
    private BigDecimal deviceDeposit;

    @ApiModelProperty("原设备保证金")
    private BigDecimal originalDeviceDeposit;

    @ApiModelProperty("首次订货费用")
    private BigDecimal firstOrderFee;

    @ApiModelProperty("设计费-折扣后费")
    private BigDecimal designFee;

    @ApiModelProperty("设计费")
    private BigDecimal originalDesignFee;

    @ApiModelProperty("排序")
    private Integer sortOrder;

}
