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

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 扩展信息
 *
 * @author system_generator
 * @date 2023-07-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value = "hygf_extended_information",autoResultMap = true)
public class ExtendedInformation extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 订单说明
     */
	@TableField("order_description")
    private String orderDescription;

    /**
     * 联系人
     */
	@TableField(value = "contacts",typeHandler = FastjsonTypeHandler.class)
    private List<Object> contacts;

    /**
     * 勘察表id
     */
	@TableField("survey_information_id")
    private Long surveyInformationId;

}
