package com.xintong.visualinspection.bean;

import lombok.Data;

/**
 * 文件名：UserStatistic
 * 版本信息：日期：2018/2/5 Copyright 江苏省交通规划设计院 Corporation 2018 版权所有.
 */
@Data
public class UserStatistic {
    private Long id;
    private Integer user_id;
    private Integer period_id;
    private Integer user_score;
    private Double user_total_score;
    private Integer user_check_num;
    private Integer user_ranking_c;
    private Integer user_ranking_d;
    private Integer user_ranking_s;
    private Integer dept_id;
    private Integer startperiod_id;
    private Integer endperiod_id;
    private Double limitscore;
    private Double limitscore2;
    private Double start_date;
    private Double end_date;
    private Integer limitnumber;
    private String p_str;

    private Integer count;

    public void setUserTotalScore(){
        this.user_total_score = 1000 - user_total_score/(user_check_num*1.00);
    }

}
