package com.community.huiju.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 小区期区资料表
 * </p>
 *
 * @author jobob
 * @since 2019-05-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tp_phase")
public class TpPhase implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer phaseId;

    /**
     * 小区ID
     */
    private Integer communityId;

    /**
     * 期区名称
     */
    @TableField("NAME")
    private String name;

    /**
     * 排序
     */
    private String sort;

    /**
     * 创建时间
     */
    private Date createDate;


}
