| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- package com.ydtech.modules.protocol.entity.po;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.ydtech.modules.protocol.entity.vo.PtlTaxSourceNewAddVo;
- import lombok.Data;
- import java.io.Serializable;
- import java.util.Date;
- /**
- * @version
- * @author: hxl
- * @Date: 2024/5/22 12:07
- * @Description: 协议调度管理
- */
- @Data
- @TableName(value = "ptl_tax_source_new")
- public class PtlTaxSourceNew implements Serializable {
- /**
- * 主键/自增
- */
- @TableId(value = "id", type = IdType.AUTO)
- private Long id;
- /**
- * 保险公司id
- */
- @TableField(value = "ins_company_id")
- private String insCompanyId;
- /**
- * 保险公司名称
- */
- @TableField(value = "ins_company_name")
- private String insCompanyName;
- /**
- * 协议Id
- */
- @TableField(value = "agreement_id")
- private String agreementId;
- /**
- * 调度内容
- */
- @TableField(value = "dispatch_content")
- private String dispatchContent;
- /**
- * 优先级
- */
- @TableField(value = "priority")
- private Integer priority;
- /**
- * 是否默认
- */
- @TableField(value = "default_flag")
- private String defaultFlag;
- /**
- * 创建时间
- */
- @TableField(value = "create_time")
- private Date createTime;
- /**
- * 创建人
- */
- @TableField(value = "create_user")
- private String createUser;
- /**
- * 修改时间
- */
- @TableField(value = "update_time")
- private Date updateTime;
- /**
- * 修改人
- */
- @TableField(value = "update_user")
- private String updateUser;
- public PtlTaxSourceNew() {
- }
- public PtlTaxSourceNew getNewEntity(PtlTaxSourceNewAddVo ptlTaxSourceNewAddVo,PtlTaxSourceNew ptlTaxSourceNew) {
- ptlTaxSourceNew.setInsCompanyId(ptlTaxSourceNewAddVo.getInsCompanyId());
- ptlTaxSourceNew.setInsCompanyName(ptlTaxSourceNewAddVo.getInsCompanyName());
- ptlTaxSourceNew.setAgreementId(ptlTaxSourceNewAddVo.getAgreementId());
- ptlTaxSourceNew.setPriority(ptlTaxSourceNewAddVo.getPriority());
- ptlTaxSourceNew.setDefaultFlag(ptlTaxSourceNewAddVo.getDefaultFlag());
- return ptlTaxSourceNew;
- }
- }
|