Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / zhz / MenuButtons.java
package com.newfiber.api.pc.model.zhz;

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/19 15:39
 * @Description:
 */
@Data
@TableName("sys_menu_button")
public class MenuButtons implements Serializable{
    @TableId(value = "serial",type = IdType.AUTO)
    private Integer serial;

    @TableField(value = "menu_no")
    private String menuNo;
    @TableField(value = "button_no")
    private String buttonNo;
    @TableField(value = "state")
    private Integer state;
    @TableField(value = "state_zn")
    private String StateZn;
    @TableField(value = "create_user_no")
    private String createUserNo;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "create_time")
    private Date createTime;
    @TableField(value = "update_user_no")
    private String updateUserNo;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "update_time")
    private Date updateTime;
    @TableField(value = "remark")
    private String remark;
}