using MadRunFabric.Common;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace MadRunFabric.Model
{
///
/// 报修工单处理轨迹
///
public class Wo_Repair_Send : IBaseModel
{
///
/// id
///
[Key]
[BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
public string id { get; set; }
///
/// 工单编号
///
public string wocode { get; set; } = "";
///
/// 工单状态:0创建工单,1已转派(转派或者抢单),2已处理,3已评价,7挂起,8已取消,9已完成
///
public int wostate { get; set; } = 0;
///
/// 渠道来源 1表示PC 2表示安卓 3表示IOS 4表示微信
///
public int channel { get; set; } = 1;
///
/// 接单人
///
public List touser { get; set; }
///
/// 接单人姓名
///
public List tousername { get; set; }
///
/// 类型(1派单2抢单)
///
public int totype { get; set; } =0;
///
/// 内容
///
public string detail { get; set; } = "";
///
/// 附件
///
public List files { get; set; }
///
/// 备注
///
public string remark { get; set; } = "";
///
/// 到场时间
///
public DateTime? arrivetime { get; set; }
///
/// 是否处理
///
public int isdeal { get; set; } = 0;
///
/// 处理人
///
public List dealuser { get; set; }
///
/// 处理人姓名
///
public List dealusername { get; set; }
///
/// 处理时间
///
public DateTime? dealtime { get; set; }
///
/// 提交时间
///
public DateTime createtime { get; set; } = DateTime.Now;
///
/// 提交人
///
public string createuser { get; set; } = "";
///
/// 提交人姓名
///
public string createusername { get; set; } = "";
///
/// 是否删除
///
public int isdelete { get; set; } = 0;
///
/// 删除用户
///
public string deleteuser { get; set; } = "";
///
/// 删除时间
///
public DateTime? deletetime { get; set; }
}
}