package com.unis.detectionnum.common.vo;

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

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;
import springfox.documentation.service.ApiListing;

/**
 * @author huangxing
 * @version 1.0
 * @Title DCfxxsjyVO
 * @ProjectName 仓房信息实体类
 * @Description  TODO
 * @date 2019/07/22 17点26分
 */
@SuppressWarnings("serial")
@Setter
@Getter
@ApiModel("仓房信息实体")
public class DCfxxsjyVO extends BaseEntity {

	/**
	 * 仓房编号
	 */
	@ApiModelProperty(value = "仓房编号")
	private String cfbh;

	/**
	 * 仓房名称
	 */
	@ApiModelProperty(value="仓房名称",required = true)
	private String cfmc;
	/**
	 * 所属库点编号
	 */
	@ApiModelProperty(value="所属库点编号",required = true)
	private String kddm;
	
	/**
	 * 仓房类型
	 */
	@ApiModelProperty(value="仓房类型")
	private String cflx;

	/**
	 * 仓房结构
	 */
	@ApiModelProperty(value="仓房结构")
	private String cfjg;

	/**
	 * 建筑类型
	 */
	@ApiModelProperty(value="建筑类型")
	private String jzlx;

	/**
	 * 仓房长度
	 */
	@ApiModelProperty(value="仓房长度")
	private Double cfcd;

	/**
	 * 仓房宽度
	 */
	@ApiModelProperty(value="仓房宽度")
	private Double cfkd;

	/**
	 * 仓房高度
	 */
	@ApiModelProperty(value="仓房高度")
	private Double cfgd;

	/**
	 * 设计仓容
	 */
	@ApiModelProperty(value="设计仓容")
	private Integer sjcr;

	/**
	 * 实际仓容
	 */
	@ApiModelProperty(value="实际仓容")
	private Integer sjcr01;

	/**
	 * 联系电话
	 */
	@ApiModelProperty(value="联系电话")
	private String lxdh;
	
	/**
	 * 人员编号
	 */
	@ApiModelProperty(value = "人员编号")
    private String rybh;

	/**
	 * 人员名称
	 */
	@ApiModelProperty(value = "人员名称")
    private String ryxm;

	/**
	 * 仓房墙体
	 */
	@ApiModelProperty(value = "仓房墙体")
    private String cfqt;

	/**
	 * 仓房檐高
	 */
	@ApiModelProperty(value = "仓房檐高")
    private Long cfyg;

	/**
	 * 仓房屋顶
	 */
	@ApiModelProperty(value = "仓房屋顶")
    private String cfwm;

	/**
	 * 仓房地面
	 */
	@ApiModelProperty(value = "仓房地面")
    private String cfdm;

	/**
	 * 房屋跨度
	 */
	@ApiModelProperty(value = "房屋跨度")
    private Long fwkd;

	/**
	 * 装粮线高度
	 */
	@ApiModelProperty(value = "装粮线高度")
    private Long zlxgd;

	/**
	 * 筒仓直径
	 */
	@ApiModelProperty(value = "筒仓直径")
    private Long tczj;

	/**
	 * 仓门数量
	 */
	@ApiModelProperty(value = "仓门数量")
    private Long cmsl;

	/**
	 * 仓门高度
	 */
	@ApiModelProperty(value = "仓门高度")
    private Long cmgd;

	/**
	 * 仓门宽度
	 */
	@ApiModelProperty(value = "仓门宽度")
    private Long cmkd;

	/**
	 * 通风措施
	 */
	@ApiModelProperty(value = "通风措施")
    private String tffs;

	/**
	 * 隔热措施
	 */
	@ApiModelProperty(value = "隔热措施")
    private String grfs;

	/**
	 * 控温措施
	 */
	@ApiModelProperty(value = "控温措施")
    private String kwcs;

	/**
	 * 精度
	 */
	@ApiModelProperty(value="精度")
	private Double jd;

	/**
	 * 纬度
	 */
	@ApiModelProperty(value="纬度")
	private Double wd;

	/**
	 * 启用日期
	 */
	@ApiModelProperty(value="启用日期")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date qyrq;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value="创建日期")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date createDate;
	/**
	 * 仓房状态：cfzt （0.入库、1出库、2库存、3空仓）
	 */
	@ApiModelProperty(value="仓房状态")
	private String cfzt;

	/**
	 * 建设年代
	 */
	@ApiModelProperty(value="建设年代")
	private String jsnd;
	
	/**
	 * 单仓装粮容积
	 */
	@ApiModelProperty(value="单仓装粮容积")
	private Integer dczlrj;
	
	/**
	 * 库点名称
	 */
	@ApiModelProperty(value="库点名称")
	private String kdmc;

	/**
	 * 仓房类型编号
	 */
	@ApiModelProperty(value = "仓房类型编号")
	private String cflxbh;

	/**
	 * 0、低温仓、1、准低温仓、2、普通仓、3、保温仓（见备注）
	 */
	@ApiModelProperty(value = "0、低温仓、1、准低温仓、2、普通仓、3、保温仓（见备注）")
	private Integer dwc;	

	/**
	 * 仓房用途
	 */
	@ApiModelProperty(value = "仓房用途")
	private String cfyt;  

	/**
	 * 仓房内长
	 */
	@ApiModelProperty(value = "仓房内长")
	private Integer cfnc; 

	/**
	 * 仓房内宽
	 */
	@ApiModelProperty(value = "仓房内宽")
	private Integer cfnk;

	/**
	 * 仓房内径
	 */
	@ApiModelProperty(value = "仓房内径")
	private Integer cfnj;

	/**
	 * 储存方式 
	 */
	@ApiModelProperty(value = "储存方式 ")
	private String ccfs;

	/**
	 * 保温门    0、无。1、有
	 */
	@ApiModelProperty(value = "保温门    0、无。1、有")
	private Integer bwm;

	/**
	 * 保温窗
	 */
	@ApiModelProperty(value = "保温窗")
	private Integer bwc;

	/**
	 * 双层保温窗0、无。1、有
	 */
	@ApiModelProperty(value = "双层保温窗0、无。1、有")
	private Integer scbwc;

	/**
	 * 外控内开窗0、无。1、有
	 */
	@ApiModelProperty(value = "外控内开窗0、无。1、有")
	private Integer wknkc;

	/**
	 * 仓内吊顶0、无。1、有
	 */
	@ApiModelProperty(value = "仓内吊顶0、无。1、有")
	private Integer cndd;

	/**
	 * 仓内保温吊顶0、无。1、有
	 */
	@ApiModelProperty(value = "仓内保温吊顶0、无。1、有")
	private Integer cdbwdd;

	/**
	 * 隔层排积热0、无。1、有
	 */
	@ApiModelProperty(value = "隔层排积热0、无。1、有")
	private Integer gcpjr;

	/**
	 * 仓顶外隔热层0、无。1、有
	 */
	@ApiModelProperty(value = "仓顶外隔热层0、无。1、有")
	private Integer cdwgrc;

	/**
	 * 保温墙体0、无。1、有
	 */
	@ApiModelProperty(value = "保温墙体0、无。1、有")
	private Integer bwqt;

	/**
	 * 保温涂料0、无。1、有
	 */
	@ApiModelProperty(value = "保温涂料0、无。1、有")
	private Integer bwtl;

	/**
	 * 制冷设备0、无。1、有
	 */
	@ApiModelProperty(value = "制冷设备0、无。1、有")
	private Integer zlsb;

	/**
	 * 地笼通风0、无。1、有
	 */
	@ApiModelProperty(value = "地笼通风0、无。1、有")
	private Integer dltf;

	/**
	 * 轴流通风0、无。1、有
	 */
	@ApiModelProperty(value = "轴流通风0、无。1、有")
	private Integer zltf;

	/**
	 * 电子测温0、无。1、有
	 */
	@ApiModelProperty(value = "电子测温0、无。1、有")
	private Integer dzcw;

	/**
	 * 自动流粮口0、无。1、有
	 */
	@ApiModelProperty(value = "自动流粮口0、无。1、有")
	private Integer zdllk;

	/**
	 * 环流熏蒸0、无。1、有
	 */
	@ApiModelProperty(value = "环流熏蒸0、无。1、有")
	private Integer hlxz;

	/**
	 * 仓内环流0、无。1、有
	 */
	@ApiModelProperty(value = "仓内环流0、无。1、有")
	private Integer cnhl;



	/**
	 * 有效仓容(总库容）
	 */
	@ApiModelProperty(value = "有效仓容")
	private Double kdyxcr;

	/**
	 * 总仓房数
	 */
	@ApiModelProperty(value = "总仓房数")
	private Integer cfs;


	/**
	 * 单位名称
	 */
	@ApiModelProperty(value = "单位名称")
	private String qymc;

	/**
	 * 单位地址
	 */
	@ApiModelProperty(value = "单位地址")
	private String qytxdz;

	/**
	 * 单位负责人
	 */
	@ApiModelProperty(value = "单位负责人")
	private String fddbr;

	@ApiModelProperty(value = "是否备案，0，未备案，1，待提交，2待审核，3已驳回，4，已备案", notes ="是否备案，0，未备案，1，待提交，2待审核，3已驳回，4，已备案", required = false)
	private Integer sfba;

	@ApiModelProperty(value = "仓房序号", notes ="仓房序号", required = false)
	private String cfxh;

	@ApiModelProperty(value = "廒间序号", notes ="廒间序号", required = false)
	private String ajxh;

	@ApiModelProperty(value = "货位序号", notes ="货位序号", required = false)
	private String hwxh;

	@ApiModelProperty(value = "建设时间", notes ="建设时间", required = false)
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date jssj;

	@ApiModelProperty(value = "交付使用日期", notes ="交付使用日期", required = false)
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date jfsyrq;

	@ApiModelProperty(value = "防雨防潮性能", notes ="防雨防潮性能", required = false)
	private String fyfcxn;

	@ApiModelProperty(value = "密闭杀虫性能", notes ="密闭杀虫性能", required = false)
	private String mbscxn;

	@ApiModelProperty(value = "隔热保冷性能", notes ="隔热保冷性能", required = false)
	private String grblxn;

	@ApiModelProperty(value = "能否散装储存，0：否，1：是", notes ="能否散装储存，0：否，1：是", required = false)
	private Integer sfszcc;

	@ApiModelProperty(value = "有无粮情测控情况，0：无，1：有", notes ="有无粮情测控情况，0：无，1：有", required = false)
	private Integer ywlqckqk;

	@ApiModelProperty(value = "仓房使用情况，1：空闲中，2：使用中，0：已停用", notes ="仓房使用情况，1：空闲中，2：使用中，0：已停用", required = false)
	private Integer cfsyqk;

	@ApiModelProperty(value = "墙体厚度（厘米）", notes ="墙体厚度（厘米）", required = false)
	private Integer qthd;

	@ApiModelProperty(value = "仓门名称", notes ="仓门名称", required = false)
	private String cmmc;

	@ApiModelProperty(value = "墙体隔热，1：保温隔热涂料，2：墙体增厚", notes ="墙体隔热，1：保温隔热涂料，2：墙体增厚", required = false)
	private Integer qtgr;

	@ApiModelProperty(value="仓门信息列表")
	private List<WarehouseDoorVO> warehouseDoorVOList;
	
	
	@ApiModelProperty(value="粮食库存品种名称")
	private String lspzmc;

	@ApiModelProperty(value="封仓数据")
	private Integer fcsl;

    /**
     * 装粮线（单位：米）
     */
    @ApiModelProperty(value = "ZLX")
    private Double zlx;

	public DCfxxsjyVO() {
		super();
	}
	
	public DCfxxsjyVO(String cfbh, String cfmc, String kddm, String cflx, String cfjg, String jzlx, Double cfcd,
					  Double cfkd, Double cfgd, Integer sjcr, Integer sjcr01, String lxdh, Double jd, Double wd, Date qyrq,
					  String cfzt, String jsnd, Integer dczlrj, String kdmc) {
		super();
		this.cfbh = cfbh;
		this.cfmc = cfmc;
		this.kddm = kddm;
		this.cflx = cflx;
		this.cfjg = cfjg;
		this.jzlx = jzlx;
		this.cfcd = cfcd;
		this.cfkd = cfkd;
		this.cfgd = cfgd;
		this.sjcr = sjcr;
		this.sjcr01 = sjcr01;
		this.lxdh = lxdh;
		this.jd = jd;
		this.wd = wd;
		this.qyrq = qyrq;
		this.cfzt = cfzt;
		this.jsnd = jsnd;
		this.dczlrj = dczlrj;
		this.kdmc = kdmc;
	}

	public DCfxxsjyVO(String cfbh, String cfmc, String kddm, String cflx,
			String cfjg, String jzlx, Double cfcd, Double cfkd, Double cfgd,
			Integer sjcr, Integer sjcr01, String lxdh, String rybh,
			String ryxm, String cfqt, Long cfyg, String cfwm, String cfdm,
			Long fwkd, Long zlxgd, Long tczj, Long cmsl, Long cmgd, Long cmkd,
			String tffs, String grfs, String kwcs, Double jd, Double wd,
			Date qyrq, String cfzt, String jsnd, Integer dczlrj, String kdmc, Integer sfba, String cfxh, String ajxh,
			String hwxh, Date jssj, Date jfsyrq, String fyfcxn, String mbscxn, String grblxn, Integer sfszcc,
			Integer ywlqckqk, Integer cfsyqk, Integer qthd, String cmmc, Integer qtgr,
			List<WarehouseDoorVO> warehouseDoorVOList) {
		super();
		this.cfbh = cfbh;
		this.cfmc = cfmc;
		this.kddm = kddm;
		this.cflx = cflx;
		this.cfjg = cfjg;
		this.jzlx = jzlx;
		this.cfcd = cfcd;
		this.cfkd = cfkd;
		this.cfgd = cfgd;
		this.sjcr = sjcr;
		this.sjcr01 = sjcr01;
		this.lxdh = lxdh;
		this.rybh = rybh;
		this.ryxm = ryxm;
		this.cfqt = cfqt;
		this.cfyg = cfyg;
		this.cfwm = cfwm;
		this.cfdm = cfdm;
		this.fwkd = fwkd;
		this.zlxgd = zlxgd;
		this.tczj = tczj;
		this.cmsl = cmsl;
		this.cmgd = cmgd;
		this.cmkd = cmkd;
		this.tffs = tffs;
		this.grfs = grfs;
		this.kwcs = kwcs;
		this.jd = jd;
		this.wd = wd;
		this.qyrq = qyrq;
		this.cfzt = cfzt;
		this.jsnd = jsnd;
		this.dczlrj = dczlrj;
		this.kdmc = kdmc;
		this.sfba = sfba;
		this.cfxh = cfxh;
		this.ajxh = ajxh;
		this.hwxh = hwxh;
		this.jssj = jssj;
		this.jfsyrq = jfsyrq;
		this.fyfcxn = fyfcxn;
		this.mbscxn = mbscxn;
		this.grblxn = grblxn;
		this.sfszcc = sfszcc;
		this.ywlqckqk = ywlqckqk;
		this.cfsyqk = cfsyqk;
		this.qthd = qthd;
		this.cmmc = cmmc;
		this.qtgr = qtgr;
		this.warehouseDoorVOList = warehouseDoorVOList;
	}
	
}
