package cn.ey.biz.module.system.service.rate.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel("TimeSheet财务费率请求参数")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RateScopeConfigDTO {

    /**
     * gpn
     */
    @ApiModelProperty("GPN")
    private String gpn;

    /**
     * Code Block Code
     */
    @ApiModelProperty("Code Block Code")
    private String codeBlockCode;

    /**
     * 财政年度
     */
    @ApiModelProperty(value = "财政年度")
    private String fiscalYear;

    /**
     * 预定开始日期
     */
    @ApiModelProperty("预定开始日期")
    @DateTimeFormat(pattern = "yyyy/MM/dd")
    private Date bookingStartDate;

    /**
     * 预定结束日期
     */
    @ApiModelProperty("预定结束日期")
    @DateTimeFormat(pattern = "yyyy/MM/dd")
    private Date bookingEndDate;

}
