package com.sptg.estate.api.entity;


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 com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@TableName(value = "estate_face_charge_project_residential_user")
public class FaceChargeProjectResidentialUser {
    /**
     * 主键
     */
    @TableId(value = "l_id",type = IdType.AUTO)
    private Long id;

    /**
     *套餐id
     */
    @TableField(value = "l_face_charge_id")
    private Long faceChargeId;

    /**
     * 小区id
     */
    @TableField(value = "l_residential_id")
    private Long residentialId;

    /**
     * 住户id
     */
    @TableField(value = "l_user_id")
    private Long userId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @TableField(value = "t_create_date")
    private Date createDate;

    @TableField(value = "i_type_item")
    private Integer typeItem;
}
