PersonInfo.java 1.32 KB
package com.viontech.match.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class PersonInfo {
    private String unid;
    private String personId;
    private String _score;
    private Double[] body;
    private Double[] data;
    private Integer age;
    private String gender;
    private Integer bodyType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date counttime;
    private String fid;
    private String channelSerialNum;
    private Long gateId;
    private String direction;

    private Long mallId;

    public PersonInfo(String unid, String personId, Double[] body,Double[] data, Integer age, String gender, Integer bodyType, Date countTime, String fid, String channelSerialNum, Long gateId, String direction, Long mallId) {
        this.unid = unid;
        this.personId = personId;
        this.body = body;
        this.data = data;
        this.age = age;
        this.gender = gender;
        this.bodyType = bodyType;
        this.counttime = countTime;
        this.fid = fid;
        this.channelSerialNum = channelSerialNum;
        this.gateId = gateId;
        this.direction = direction;
        this._score = "1";
        this.mallId = mallId;
    }
}