Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / meet / MeetPlanSub.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 15:12
 * @Description:
 */
@Data
@NoArgsConstructor
@TableName("meet_plan_sub")
public class MeetPlanSub implements Serializable {

    @TableId(value = "m_s_id",type = IdType.AUTO)
    private Integer mSId;

    @TableField("sub_id")
    private Integer subId;

    @TableField("sub_name")
    private String subName;

    @TableField("sub_count")
    private Integer subCount;
    @TableField("nature")
    /** 物资性质 */
    private Integer nature;

    @TableField("plan_id")
    private Integer planId;

    @TableField("create_user_no")
    private String createUserNo;

    @TableField("create_time")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField("update_time")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}