package com.izouma.wenlvju.dto;


import cn.hutool.core.bean.BeanUtil;
import com.izouma.wenlvju.domain.performance.ProgrammeAward;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProgrammeAwardDTO {

    private Long performanceId;

    private Long specialtyId;

    private String specialty;

    private long programmeNum;

    private String award;

    private Long awardId;

    @ApiModelProperty(value = "占比")
    private Double percentage;

    private Long num;

    private String remark;

    private List<AwardDTO> awardDTOS;

    public ProgrammeAwardDTO(ProgrammeAward programmeAward) {
        BeanUtil.copyProperties(this, programmeAward);
    }
}
