package com.yx.face.model.entity;

import java.util.Date;

import javax.persistence.*;

import lombok.Data;

/**
 * @description: 派出所信息表(PoliceStation)实体类 <br>
 * @author: PWB <br>
 * @since: 1.0 <br>
 * @date: 2021-06-04 14:25:48 <br>
 */
@Data
@Table(name = "police_station")
public class PoliceStation {

    /**
     * 派出所id
     */

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)

    private Integer id;

    /**
     * 派出所名称
     */


    private String name;

    /**
     * 派出所码
     */


    private String code;

    /**
     * 地址code
     */


    @Column(name = "address_code")
    private Integer addressCode;

    /**
     * 地址
     */


    private String address;

    /**
     * 更新时间
     */


    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 创建时间
     */


    @Column(name = "create_time")
    private Date createTime;

}

