#region Copyright © 2015 CLIPSOFT Co.,Ltd. All Rights Reserved.
//
// All rights are reserved. Reproduction or transmission in whole or in part, 
// in any form or by any means, electronic, mechanical or otherwise, is 
// prohibited without the prior written consent of the copyright owner.
//
// Filename:CategoryForDropdownVO.cs
//
#endregion
using System;
using System.ComponentModel;

namespace CLIP.eForm.Consent.Entity
{
    /// <summary>
    /// 특정 환자의 진료일 Dropdown에서 선택하기 위한 데이터 엔터티
    /// </summary>
    /// <remarks>
    /// <p>[설계자]</p>
    /// <p>  클립소프트 기술부 4팀 이창훈 (chlee@clipsoft.co.kr)</p>
    /// <p>[원본 작성자]</p>
    /// <p>  클립소프트 기술부 이인희</p>
    /// <p>[수정 작성자]</p>
    /// <p></p>
    /// <p>----------------------------------------------------------------------------------------</p>
    /// <p>[HISTORY]</p>
    /// <p> 2016-07-01 : 최초작성</p>
    /// <p>----------------------------------------------------------------------------------------</p>
    /// </remarks>  
    [Serializable]
    public class ClnDateForDropdownVO
    {
        public ClnDateForDropdownVO()
        {
            foreach (PropertyDescriptor property in TypeDescriptor.GetProperties(this))
            {
                if (property.DisplayName == "CretNo")
                {
                    property.SetValue(this, 0);
                }
                else
                {
                    property.SetValue(this, "");
                }
            }
        }
        public string ClnDate { get; set; }         //진료일 yyyyMMdd
        public string ClnFormatDate { get; set; }   //진료일 yyyy-MM-dd
        public string VisitType { get; set; }       //내원구분 
        public string VisitTypeName { get; set; }   //내원구분명 
        public string ClnDeptCode { get; set; }     //진료과
        public string ClnDeptName { get; set; }     //진료과명
        public string DeptCd { get; set; }     //진료과코드
        public int CretNo { get; set; }     //진료이력 sequence
        public string orddrid { get; set; }     //진료의
    }
}
