package org.jeecg.modules.financeManage.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
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;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Description: 财务过手费子表
 * @author： jeecg-boot
 * @date：   2019-07-13
 * @version： V1.0
 */
@Data
@TableName("fd_handoverfee_b")
public class FdHandoverfeeB implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**过手费子表主键*/
	@TableId(type = IdType.UUID)
	private String id;
	/**过手费主表主键*/
	private String pkHeadId;
	/**序号*/
    @Excel(name = "序号", width = 15)
	private Integer number;
	/**过手费分类名称*/
    @Excel(name = "过手费分类名称", width = 15)
	@NotEmpty(message = "明细过手费分类不能为空")
	private String handfeeClass;
	/**一级过手费id*/
    @Excel(name = "一级过手费id", width = 15)
	private String pkHandfeeClassOne;
	/**二级过手费id*/
    @Excel(name = "二级过手费id", width = 15)
	private String pkHandfeeClassTwo;
	/**过手费项目编码*/
    @Excel(name = "过手费项目编码", width = 15)
	@NotEmpty(message = "明细过手费项目编码不能为空")
	private String code;
	/**过手费项目名称*/
    @Excel(name = "过手费项目名称", width = 15)
	@NotNull(message = "明细过手费项目名称不能为空")
	private String name;
	/**金额*/
    @Excel(name = "金额", width = 15)
	private Double amount;
	/**备注*/
    @Excel(name = "备注", width = 15)
	private String memo;
	/**删除状态*/
    @Excel(name = "删除状态", width = 15)
	private String delFlag;
	/**createTime*/
	@Excel(name = "createTime", 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 Date createTime;
	/**createBy*/
    @Excel(name = "createBy", width = 15)
	private String createBy;
	/**updateTime*/
	@Excel(name = "updateTime", 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 Date updateTime;
	/**updateBy*/
    @Excel(name = "updateBy", width = 15)
	private String updateBy;

	private String def1;
	private String def2;
	private String def3;
	private String def4;
	private String def5;

	private String milepost;
	private Double estimator;
	private Double contractAmount;
	private Double contractAmountAll;
}
