package io.renren.modules.business.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 年度总结表
 * 
 * @author jiaqiao
 * @email jiaqiao@163.com
 * @date 2022-10-20 19:38:02
 */
@Data
@TableName("business_annual")
public class BusinessAnnualEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Integer id;
	/**
	 * 年度
	 */
	private String annualYear;
	/**
	 * 名称(0-明细表，1-总结表)
	 */
	private Integer annualName;
	/**
	 * 收回时间
	 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date annualEndtime;
	/**
	 * 对应被回收人的id
	 */
	private Integer annualHsId;
	/**
	 * 回收状态
	 */
	private Integer annualState;
    @TableField(exist=false)
	private String name;//对应的回收人的姓名

}
