package com.malk.pake.entity;

import cn.hutool.core.util.NumberUtil;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.malk.utils.UtilMap;
import lombok.Data;

/***
 * 外部采购
 */
@Data
@TableName(value = "pake_wbcg")
public class PkWbcg {

    @TableId
    private String name;

    private String no;
    private String subject;
    private String dept1;
    private String dept2;
    private String amt1;
    private String amt2;
    private String amt3;
    private String amt4;
    private String amt5;
    private String amt6;
    private String amt7;
    private String amt8;
    private String amt9;
    private String amt10;
    private String amt11;
    private String amt12;
    private String total;
    private String ysamt1;
    private String ysamt2;
    private String ysamt3;
    private String ysamt4;
    private String ysamt5;
    private String ysamt6;
    private String ysamt7;
    private String ysamt8;
    private String ysamt9;
    private String ysamt10;
    private String ysamt11;
    private String ysamt12;
    private String ystotal;
    private String ndystotal;

    public PkWbcg(String no,String subject,String dept1,String dept2){
        this.no=no;
        this.subject=subject;
        this.dept1=dept1;
        this.dept2=dept2;
        this.name=no.concat("-").concat(dept1).concat("-").concat(dept2);
    }
}
