package com.brilliance.isc.bo;


import com.brilliance.mda.runtime.mda.util.Decimals;
import com.brilliance.isc.common.vo.AbstractCommonVo;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

import static com.brilliance.mda.runtime.mda.Constants.NULLSTR;


/**
* TABLE:irt:INV - Interest Rate Definition
*/
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class Inv extends AbstractCommonVo {

        private String inr;
        //业务编号
        private  String ownref = NULLSTR;
        //子业务编号
        private  String subref = NULLSTR;
        //开始日期
        @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
        private Date begdat;
        //结束日期
        @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
        private  Date enddat;
        //trn流�'
        private  String trninr = NULLSTR;
        //前trn流�'
        private  String pretrninr = NULLSTR;
        //批次号
        private  String seqnum = NULLSTR;
        //所属机构编号
        private  String orgno = NULLSTR;
        //发票占用金额
        private  BigDecimal amountin = Decimals.ZERO_SCALE3;
        //发票剩余金额
        private BigDecimal balance = Decimals.ZERO_SCALE3;
        //发票监控状态
        private  String monstatus = NULLSTR;
        //发票监控状态变化时间
        @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
        private  Date monstatustime;
        //是否监控
        private  String ismonitor = NULLSTR;
        //状态�'新时�'
        @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
        private  Date statetime;
        //发票是否已使用
        private  String isused = NULLSTR;
        //业务所属机构
        private  String branchinr = NULLSTR;
        //查询结果
        private  String result = NULLSTR;
        //银税通技术操作代码
        private  String outcode = NULLSTR;
        //银税通业务操作代码
        private  String outsubcode = NULLSTR;
        //唯一流�'号
        private  String srcseqnum = NULLSTR;
        //外部数据平台流�'号
        private  String sid = NULLSTR;
        //发票代码
        private  String invoicecode = NULLSTR;
        //发票号码
        private  String invoicenumber = NULLSTR;
        //发票类型
        private  String invoicetype = NULLSTR;
        //发票类型代码
        private  String invoicetypecode = NULLSTR;
        //开票日期
        @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
        private  Date billingdate;
        //�'�方名称
        private  String purchasername = NULLSTR;
        //买方电话
        private  String purchaserphone = NULLSTR;
        //�'�方税号
        private  String purchasertaxno = NULLSTR;
        //�'�方单位/个人地址
        private  String purchaseraddress = NULLSTR;
        //�'�方地址电话
        private  String purchaseraddressphone = NULLSTR;
        //�'�方开户行�'�号
        private  String purchaserbank = NULLSTR;
        //销方地址电话
        private  String salesaddressphone = NULLSTR;
        //销方地址
        private  String salesaddress = NULLSTR;
        //销方开户行
        private  String salesbank = NULLSTR;
        //销方开户行�'�号
        private  String salesbankno = NULLSTR;
        //销方名称
        private  String salesname = NULLSTR;
        //销方电话
        private  String salesphone = NULLSTR;
        //销方税号
        private  String salestaxno = NULLSTR;
        //合计金额
        private  BigDecimal totalamount = Decimals.ZERO_SCALE3;
        //合计税额
        private  BigDecimal totaltax = Decimals.ZERO_SCALE3;
        //校验码后六位
        private  String checkcode = NULLSTR;
        //发票状态
        private  String state = NULLSTR;
        //价税合计
        private  BigDecimal amounttax = Decimals.ZERO_SCALE3;
        //价税合计中文
        private  String amounttaxcn = NULLSTR;
        //厂牌型号
        private  String brandmodel = NULLSTR;
        //合格证号
        private  String certificateno = NULLSTR;
        //发动机号
        private  String engineno = NULLSTR;
        //身份证号码/组织机构代码
        private  String idcardno = NULLSTR;
        //进口证明书号
        private  String importcertificateno = NULLSTR;
        //商检单号
        private  String inspectionlistno = NULLSTR;
        //机器编号
        private  String machinecode = NULLSTR;
        //产地
        private  String originplace = NULLSTR;
        //限乘人数
        private  String passengerslimited = NULLSTR;
        //完税凭证
        private  String paymentvoucherno = NULLSTR;
        //备注
        private  String remarks = NULLSTR;
        //主管税务机关名称
        private  String taxauthorityname = NULLSTR;
        //主管税务机关代码
        private  String taxauthorityno = NULLSTR;
        //车船吨位
        private  String tonnage = NULLSTR;
        //增值税税率或征收率
        private  String vattaxrate = NULLSTR;
        //车辆识别代号/车架号码
        private  String vehicleno = NULLSTR;
        //车辆类型
        private  String vehicletype = NULLSTR;
        //开票人
        private  String payee = NULLSTR;
        //通行�'�标识
        private  String tollsign = NULLSTR;
        //经营拍卖单位
        private  String auctionname = NULLSTR;
        //经营拍卖单位地址
        private  String auctionaddress = NULLSTR;
        //经营拍卖单位电话
        private  String auctionphone = NULLSTR;
        //经营拍卖单位纳税人识别号
        private  String auctiontaxno = NULLSTR;
        //车牌照号
        private  String carnumber = NULLSTR;
        //登记证号
        private  String registrationnumber = NULLSTR;
        //车价合计
        private  String totalprice = NULLSTR;
        //车价合计大写
        private  String totalpricecn = NULLSTR;
        //二手车市场地址
        private  String usedcaraddress = NULLSTR;
        //二手车市场
        private  String usedcarname = NULLSTR;
        //二手车市场电话
        private  String usedcarphone = NULLSTR;
        //二手车市场纳税人识别号
        private  String usedcartaxno = NULLSTR;
        //二手车市场开户银行及�'�户
        private  String usedcarbank = NULLSTR;
        //转入地车辆车管所名称
        private  String vehiclenoplacename = NULLSTR;
        //首次登记标识
        private  String firstsign = NULLSTR;
        //检核次数
        private  String checktotal = NULLSTR;
        //本机构检核次数
        private  String checkown = NULLSTR;
        //其他机构检核次数
        private  String checkother = NULLSTR;
        //监控次数
        private  String monitortoal = NULLSTR;
        //本机构监控次数
        private  String monitorown = NULLSTR;
        //其他机构监次数
        private  String monitorother = NULLSTR;
        //预留字段1
        private  String reserve1 = NULLSTR;
        //预留字段2
        private  String reserve2 = NULLSTR;
        //预留字段3
        private  String reserve3 = NULLSTR;
        //预留字段4
        private  String reserve4 = NULLSTR;
        //预留字段5
        private  String reserve5 = NULLSTR;
        //预留字段6
        private  String reserve6 = NULLSTR;
        //风险描述
        private  String riskdescription = NULLSTR;
        //风险产生时间
        @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
        private  Date riskcreationtime;
        //失�'�原因
        private  String reason = NULLSTR;
        //处理状态
        private  String hantyp = NULLSTR;
        //处理时�'
        @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
        private  Date handat;
        //处理用户
        private  String hanusr = NULLSTR;
        //外币币种
        private  String forcur = NULLSTR;
        //外币金额
        private  BigDecimal foramt = Decimals.ZERO_SCALE3;

}