package com.mosty.base.model.dto.yjzl;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "TbZdyFgrwDto 对象", description = "指令新增或修改Dto")
public class TbZdyFgrwDto {

    private static final long serialVersionUID = 7150960017357765314L;

    @ApiModelProperty(value = "主键ID")
    private String id;

    @ApiModelProperty(value = "方格任务名称")
    private String fgRwmc;

    @ApiModelProperty(value = "方格ID")
    private Long fgId;

    @ApiModelProperty(value = "下发日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date xfrq;

    @ApiModelProperty(value = "间隔时间")
    private Integer dkjgsj;

    @ApiModelProperty(value = "下发部门代码")
    private String xfbmdm;

    @ApiModelProperty(value = "所属部门代码")
    private String ssbmdm;

    @ApiModelProperty(value = "方格点位集合")
    private List<TbZdyFgbxdDto> dtoList;
}
