package cn.reghao.tnb.file.app.zdisk.model.po;

import cn.reghao.jutil.jdk.web.db.BaseObject;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @author reghao
 * @date 2023-12-08 16:03:05
 */
@NoArgsConstructor
@Setter
@Getter
public class CamRecord extends BaseObject<Integer> {
    private Long camId;
    private Long recordId;
    private String videoFileId;
    private LocalDateTime startAt;
    private Integer duration;

    public CamRecord(long camId, long recordId, String videoFileId, int duration, LocalDateTime startAt) {
        this.camId = camId;
        this.recordId = recordId;
        this.videoFileId = videoFileId;
        this.startAt = startAt;
        this.duration = duration;
    }
}
