package cn.iocoder.yudao.module.system.controller.admin.biz.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @Author: jinyd
 * @CreateTime: 2024/8/29  9:40
 * @Description:
 * @Version: 4.0
 */


@Schema(description = "管理后台 - 价格变更详情新增/修改 Request VO")
@Data
public class PriceChangeRecordSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27876")
    private Long id;

    @Schema(description = "变更id", example = "7307")
    private Long changeId;

    @Schema(description = "原id", example = "12163")
    private Long originalId;

    @Schema(description = "原名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "原名称不能为空")
    private String originalName;

    @Schema(description = "预期id", example = "659")
    private Long expectId;

    @Schema(description = "预期名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "预期名称不能为空")
    private String expectName;

    @Schema(description = "价格")
    private Double amount;

}
