package cn.ezhizao.project.business.workOrder.domain;

import cn.ezhizao.framework.aspectj.lang.annotation.Excel;
import cn.ezhizao.framework.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 工单明细对象 biz_work_order_detail
 *
 * @author ruoyi
 * @date 2023-11-08
 */
@Data
@TableName(value = "biz_work_order_detail")
public class BizWorkOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 外键 */
    @ApiModelProperty(value = "${comment}")
    private Long workOrderId;

    /** 客户外键 */
    @ApiModelProperty(value = "${comment}")
    private Long companyId;

    /** 合同外键 */
    @ApiModelProperty(value = "${comment}")
    private Long contractId;

    @ApiModelProperty("合同明细外键")
    private Long contractDetailId;

    /** 任务外键 */
    @ApiModelProperty(value = "${comment}")
    private Long taskTypeId;


    /** 购买月数 */
    @Excel(name = "购买月数")
    @ApiModelProperty(value = "购买月数")
    private Integer serviceNum;

    /** 赠送月数 */
    @Excel(name = "赠送月数")
    @ApiModelProperty(value = "赠送月数")
    private Integer freeNum;

    @ApiModelProperty("租户外键")
    private Long tenantId;

    @ApiModelProperty("是否停止")
    private Integer isStop;

}
