package com.YuyeTech.TPlat.dataobject;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * @author:slambb
 * @date:2019/12/31
 */
@Data
@Entity
@DynamicUpdate
public class FitnessProgram {
    @Id
    private String userId;
    private Date startTime;
    private Date endTime;
    private Double targetWeight;
    private Integer cumulativeCalorie;
    private Integer calorie;
    private Double sportTime;
}
