package org.jeecg.modules.finance.entity;

import java.io.Serializable;
import java.util.Date;
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 lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import javax.validation.constraints.NotEmpty;

/**
 * @Description: 财务报表
 * @author： jeecg-boot
 * @date：   2019-07-24
 * @version： V1.0
 */
@Data
@TableName("fd_financial_statements")
public class FdFinancialStatements implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**主键*/
	@TableId(type = IdType.UUID)
	private java.lang.String id;
	/**序号*/
	@Excel(name = "序号", width = 15)
	private java.lang.String sort;
	/**报表名称id*/
	@Excel(name = "报表名称id", width = 15)
	private java.lang.String pkReportName;
	/**报表名称(根据数据字典获得)*/
	@Excel(name = "报表名称(根据数据字典获得)", width = 15)
	private java.lang.String reportName;
	/**合同号*/
	@Excel(name = "合同号", width = 15)
	private java.lang.String contractCode;
	/**合同id*/
	@Excel(name = "合同id", width = 15)
	private java.lang.String pkContract;
	/**申办方名称*/
	@Excel(name = "申办方名称", width = 15)
	private java.lang.String bidPartyName;
	/**申办方id*/
	@Excel(name = "申办方id", width = 15)
	private java.lang.String pkBidParty;
	/**合同方名称*/
	@Excel(name = "合同方名称", width = 15)
	private java.lang.String contractPartyName;
	/**合同方id*/
	@Excel(name = "合同方id", width = 15)
	private java.lang.String pkContractParty;
	/**化合物id*/
	@Excel(name = "化合物id", width = 15)
	private java.lang.String pkCompound;
	/**化合物名称*/
	@Excel(name = "化合物名称", width = 15)
	private java.lang.String compoundName;
	/**金额*/
	@Excel(name = "金额", width = 15)
	private java.lang.Integer amount;
	/**币种*/
	@Excel(name = "币种", width = 15)
	private java.lang.String currency;
	/**付款条件*/
	@Excel(name = "付款条件", width = 15)
	private java.lang.String paymentTerms;
	/**到款日期*/
	@Excel(name = "到款日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date dateOfArrivalp;
	/**付款通知书日期*/
	@Excel(name = "付款通知书日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date paymentNoticeDate;
	/**备注*/
	@Excel(name = "备注", width = 15)
	private String memo;
	/**删除标识*/
	@Excel(name = "删除标识", width = 15)
	private String delFlag;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/**修改人*/
	@Excel(name = "修改人", width = 15)
	private String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;
	/**商务经理id*/
	@Excel(name = "商务经理id", width = 15)
	private String bdId;
	/**商务经理名称*/
	@Excel(name = "商务经理名称", width = 15)
	private String bdName;
	//查询时间
	private java.util.Date queryTime;
	/**开始日期*/
	@TableField(exist = false)
	private java.util.Date startDate;
	/**结束日期*/
	@TableField(exist = false)
	private java.util.Date endDate;

	//类别名称
	@TableField(exist = false)
	private String typeName;

	//币别名称
	@TableField(exist = false)
	private String currencyMoney;

	//币别id
	@TableField(exist = false)
	private String currencyTypeId;

	//财务报表
	@TableField(exist = false)
	private String creditPeriod;

}
