package com.yeejoin.amos.boot.module.hygf.api.dto;

import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.support.spring.annotation.FastJsonFilter;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yeejoin.amos.boot.module.hygf.api.entity.PeasantHousehold;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.yeejoin.amos.boot.biz.common.dto.BaseDto;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author system_generator
 * @date 2024-04-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "FinancingInfoDto", description = "")
public class FinancingInfoDto extends BaseDto {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "所属融资公司id")
    private Long financingCompaniesSeq;

    @ApiModelProperty(value = "所属融资公司名称")
    private String financingCompaniesName;

    @ApiModelProperty(value = "所属融资公司code")
    private String financingCompaniesCode;

    @ApiModelProperty(value = "农户id")
    private Long peasantHouseholdId;

    @ApiModelProperty(value = "区域公司Id")
    private Long regionalCompaniesSeq;

    @ApiModelProperty(value = "放款时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date disbursementTime;

    @ApiModelProperty(value = "元")
    private Double disbursementMoney;

    @ApiModelProperty(value = "附件")
    private String file;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "农户id")
    private String peasantHouseholdIds;

    private String instanceId;

    @ApiModelProperty(value = "批次号")
    private String batchNo;

    @ApiModelProperty(value = "附件")
    private List<Object> files;

    @ApiModelProperty(value = "单价")
    private String unitPrice;
    @ApiModelProperty(value = "投融创建时间")
    private Date trCreateTime;
    List<PeasantHousehold> peasantHouseholds;
}
