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.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class AwardDTO {
    private String award;

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

    private Long num;

    private String remark;

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