package com.xiaoniu.subsystem.business.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xiaoniu.common.core.annotation.Excel;
import com.xiaoniu.subsystem.business.domain.Expense;
import com.xiaoniu.subsystem.business.domain.Flight;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 专业（班次）管理表
 * </p>
 *
 * @author haoxuyang
 * @since 2024-11-29 03:35:08
 */
@Data
@Accessors(chain = true)
@Schema(description = "专业（班次）管理")
public class FlightVO  {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "专业（班次）ID")
    private Long flightId;


    @Schema(description = "专业（班次）名称")
    private String flightName;


    @Schema(description = "专业（班次）编码")
    private String flightCode;


    @Schema(description = "学制（天）")
    private String educationalSystem;


    @Schema(description = "开训时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date trainingTime;


    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;


    @Schema(description = "人员类型")
    private String type;

    @Schema(description = "专业类型")
    private String majorType;


    @Schema(description = "年度（示例：yyyy")
    private String year;


    @Schema(description = "状态（0正常 1停用）")
    private Integer status;


    @Schema(description = "预算金额")
    private String budgetedAmount;


    @Schema(description = "结算金额")
    private String settlementAmount;

    @Schema(description = "培训员额（人）")
    private String trainingPost;

    @Schema(description = "承训单位ID")
    private Long tissueUnitId;


    @Schema(description = "承训单位名称")
    private String tissueUnitName;


    @Schema(description = "培训地址")
    private String tissueUnitAddress;


    @Schema(description = "联系人")
    private String contactPerson;


    @Schema(description = "联系电话")
    private String phonenumber;

    @Schema(description = "组织考核单位ID")
    private Long assessmentUnitId;


    @Schema(description = "组织考核单位名称")
    private String assessmentUnitName;


    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建人",hidden = true)
    private Long createUser;

    @Schema(description = "创建部门",hidden = true)
    private Long createDept;

    @Schema(description = "创建",hidden = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    @Schema(description = "修改人")
    private Long updateUser;

    @Schema(description = "修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;

    @Schema(description = "是否已删除" , hidden = true)
    private Integer isDeleted;

    @Schema(description = "培训类型（0=初级,1=中级,2=高级）")
    private String trainingType;

    @Schema(description = "培训内容")
    private String trainingContent;

    private Long projectId;

    /**
     * 主责单位ID
     */
    @Schema(description = "主责单位ID")
    private Long mainUnitId;
    /**
     * 主责单位名称
     */
    @Schema(description = "主责单位名称")
    private String mainUnitName;


}
