Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / zhz / Buttons.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:zhz
 * @CreateDate:2020/11/19 15:30
 * @Description:
 */
@Data
@NoArgsConstructor
@TableName("sys_buttons")
public class Buttons implements Serializable {
    @TableId(value = "serial",type = IdType.AUTO)
    private Integer serial;
    @TableField(value = "button_no")
    private String buttonNo;
    @TableField(value = "button_name")
    private String buttonName;
    @TableField(value = "button_style")
    private String buttonStyle;
    @TableField(value = "button_event")
    private String buttonEvent;
    @TableField(value = "button_grade")
    private Integer buttonGrade;
    @TableField(value = "button_grade_zn")
    private String buttonGradeZn;
    @TableField(value = "order_sort")
    private Integer orderSort;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "create_time")
    private Date createTime;
    @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;
}