package com.ssm.manage.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ssm.manage.page.BasePage;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Setter
@Getter
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class PlatformRequest  extends BasePage  {
    /**
     * 平台id
     */
    @Id
    private Long id;

    /**
     * 平台名称
     */
    @Column(name = "platform_name")
    private String platformName;

    /**
     * 创建人名称
     */
    @Column(name = "insert_name")
    private String insertName;

    /**
     * 创建时间
     */
    @Column(name = "insert_date")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date insertDate;

    /**
     * 状态（0/1，0停止，1启用）
     */
    @Column(name = "state")
    private Integer state;
}
