package com.liquidnet.service.kylin.dto.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 退款原因配置 VO
 */
@Data
@ApiModel("退款原因配置")
public class OrderRefundReasonVo implements Serializable, Cloneable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "原因业务ID")
    private String reasonId;

    @ApiModelProperty(value = "退款理由名称")
    private String name;

    @ApiModelProperty(value = "是否需要二级补充输入 0否 1是")
    private Integer needDetail;

    @ApiModelProperty(value = "二级输入placeholder")
    private String placeholder;

    @ApiModelProperty(value = "是否已应用 0未应用 1应用中")
    private Integer isApplied;

    @ApiModelProperty(value = "应用状态名称")
    private String isAppliedName;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "创建时间")
    private String createdAt;

    @ApiModelProperty(value = "修改时间")
    private String updatedAt;

    private static final OrderRefundReasonVo OBJ = new OrderRefundReasonVo();

    public static OrderRefundReasonVo getNew() {
        try {
            return (OrderRefundReasonVo) OBJ.clone();
        } catch (CloneNotSupportedException e) {
            return new OrderRefundReasonVo();
        }
    }
}
