package com.ydtech.modules.protocol.entity.vo; import com.ydtech.modules.protocol.entity.po.PtlTaxSourceNew; import com.ydtech.modules.protocols.entity.po.PtlAgreementDispatchRulesAttr; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.List; /** * @version * @author: hxl * @Date: 2024/5/22 14:30 * @Description: 协议调度查询对象 */ @Data @ApiModel("协议调度对象") public class PtlTaxSourceNewSaveVo { /** * 主键/自增 */ @ApiModelProperty("id") private Long id; /** * 保险公司id */ @ApiModelProperty("保险公司id") private String insCompanyId; /** * 保险公司名称 */ @ApiModelProperty(value = "保险公司名称") private String insCompanyName; /** * 协议Id */ @ApiModelProperty("协议id") private String agreementId; /** * 优先级 */ @ApiModelProperty("优先级") private Integer priority; /** * 是否默认 */ @ApiModelProperty("是否默认") private String defaultFlag; /** * 描述 */ @ApiModelProperty("描述") private String dispatchContent; /** * 调度规则 */ @ApiModelProperty("调度规则列表") private List attrLinks; public PtlTaxSourceNewSaveVo() { } public PtlTaxSourceNewSaveVo(PtlTaxSourceNew ptlTaxSourceNew) { this.id=ptlTaxSourceNew.getId(); this.insCompanyId=ptlTaxSourceNew.getInsCompanyId(); this.insCompanyName=ptlTaxSourceNew.getInsCompanyName(); this.agreementId=ptlTaxSourceNew.getAgreementId(); this.priority=ptlTaxSourceNew.getPriority(); this.defaultFlag=ptlTaxSourceNew.getDefaultFlag(); this.dispatchContent=ptlTaxSourceNew.getDispatchContent(); } }