package com.fdkankan.ucenter.vo.response;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fdkankan.ucenter.util.DateUserUtil;
import lombok.Data;

import java.util.Date;

@Data
public class UserIncrementVo  {

    private String key;

    private Long id;

    private Long userId;

    private Long cameraId;

    private String orderSn;

    /**
     * 生效时间
     */
    private String incrementStartTime;
    /**
     * 结束时间
     */
    private String incrementEndTime;

    /**
     * 创建时间
     */
    private String createTime;

    private String snCode;

    private String incrementStartStr;

    private String incrementEndStr;

    private String createStr;

    private Boolean isExpire;

    private String keyWord;

    private Integer isExpired;

    private Integer incrementTypeId;

    private String memberLevels;
    private Integer monthQy;

    private String subscriptionOrder;


    public String getIncrementStartStr() {
        return DateUserUtil.getDayTime(incrementStartTime);
    }

    public String getIncrementEndStr() {
        return DateUserUtil.getDayTime(incrementEndTime);
    }

    public String getCreateStr() {
        return DateUserUtil.getDayTime(createTime);
    }
}
