using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XYY.Common.Standard.Attributes;
using XYY.Core.Standard;

namespace XYY.Model.Standard.DingTalk
{
    public class DingTalk_Reimbursement: BaseEntity
    {
        public DingTalk_Reimbursement() {
            details = new List<DingTalk_ReimbursementDetail>();
        }
        public string ProcessCode { get; set; }
        public string originator_dept_id { get; set; }
        public string originator_dept_name { get; set; }
        public string originator_userid { get; set; }
        public int wms_userid { get; set; }
        public string wms_userName { get; set; }
        public string title { get; set; }
        public string business_id { get; set; }
        public ObjectApplyEnum Status { get; set; }
        public decimal ReimbursementAmount { get; set; }
        public DateTime? finish_time { get; set; }
        public DateTime startTime { get; set; }

        [NoDb]
        public List<DingTalk_ReimbursementDetail> details { get; set; }
        [NoDb]
        public string StatusDec { get { return Status.GetDescription(); } }

    }
}
