package cn.bunny.dao.dto.financial.savingGoal;

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

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Schema(name = "SavingGoalDto对象", title = "用户储值查询", description = "用户储值查询")
public class SavingGoalDto {

    @Schema(name = "id", title = "主键")
    private Long id;

    @Schema(name = "userId", title = "绑定的用户id")
    private Long userId;

    @Schema(name = "statusType", title = "完成状态")
    private String statusType;

    @Schema(name = "savingGoalName", title = "储值目标名称")
    private String savingGoalName;

    @Schema(name = "amount", title = "目标金额")
    private BigDecimal amount;

    @Schema(name = "duration", title = "目标时长")
    private String duration;

}
