AdsDimFinancialYearWeekInfo.java 1.4 KB
Newer Older
Q
qinyingjie 已提交
1 2
package com.kwan.springbootkwan.entity;

3
import com.baomidou.mybatisplus.annotation.TableId;
Q
qinyingjie 已提交
4
import com.baomidou.mybatisplus.extension.activerecord.Model;
Q
qinyingjie 已提交
5
import com.fasterxml.jackson.annotation.JsonFormat;
Q
qinyingjie 已提交
6
import io.swagger.annotations.ApiModel;
7 8
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
Q
qinyingjie 已提交
9 10 11

import java.util.Date;

12
@Data
Q
qinyingjie 已提交
13 14
@ApiModel(value = "财年周")
public class AdsDimFinancialYearWeekInfo extends Model<AdsDimFinancialYearWeekInfo> {
15 16
    @TableId
    @ApiModelProperty(value = "财年")
Q
qinyingjie 已提交
17
    private Integer financialYear;
18
    @ApiModelProperty(value = "第n财年周")
Q
qinyingjie 已提交
19
    private Integer financialYearWeek;
20
    @ApiModelProperty(value = "财年开始日期")
Q
qinyingjie 已提交
21
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
Q
qinyingjie 已提交
22
    private Date financialYearStart;
Q
qinyingjie 已提交
23
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
24
    @ApiModelProperty(value = "财年结束日期")
Q
qinyingjie 已提交
25
    private Date financialYearEnd;
Q
qinyingjie 已提交
26
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
27
    @ApiModelProperty(value = "周开始")
Q
qinyingjie 已提交
28
    private Date weekStartDay;
Q
qinyingjie 已提交
29
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
30
    @ApiModelProperty(value = "周结束")
Q
qinyingjie 已提交
31
    private Date weekEndDay;
32
    @ApiModelProperty(value = "财年周所在季节区间,0:跨9月1号,1:3月到8月,2:9月到2月 ")
Q
qinyingjie 已提交
33
    private Integer weekInSeason;
34
}