Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / meet / MeetPlanFile.java
package com.newfiber.api.pc.model.meet;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

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

/**
 * @Author:zzh
 * @CreateDate:2020/11/26 16:40
 * @Description:
 */
@Data
@NoArgsConstructor
@TableName("meet_plan_file")
public class MeetPlanFile implements Serializable {
    @TableId(value = "m_f_id",type = IdType.AUTO)
    private Integer mFId;
    @TableField("plan_id")
    private Integer planId;
    /** 文件名 */
    @TableField("file_name")
    private String fileName;
    /** 文件路径 */
    @TableField("file_path")
    private String filePath;
    /** 创建时间 */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("create_time")
    private Date createTime;
}